Package 

Class Analytics

    • Method Detail

      • getUserAgentDeviceType

         static String getUserAgentDeviceType()

        Return a static version of the result from the getDeviceType method in this class

      • setIsPlaybackForegrounded

         void setIsPlaybackForegrounded(boolean foregrounded)

        Set if the playback is attached to an on-going notification in a foreground service.

        Parameters:
        foregrounded - If the playback is attached to a service.
      • setPlayerName

         void setPlayerName(@NonNull() String playerName)

        Set a name to the player

        Parameters:
        playerName - - The value to be set to the player field
      • setPlayerID

         void setPlayerID(@NonNull() String playerID)

        Set an ID to the player

        Parameters:
        playerID - - The value to be set to the player_id field
      • getUniqueIdentifierEnabled

         boolean getUniqueIdentifierEnabled()

        Return whether the client side unique identifier feature isenabled.

      • setUniqueIdentifierEnabled

         void setUniqueIdentifierEnabled(boolean uniqueIdentifierEnabled)

        Set whether the client side unique identifier feature isenabled. By default, unique user tracking is implemented bythe Brightcove Analytics server using the client IP address anduser agent, but when the client side unique identifier featureis enabled, the device's android ID is used to uniquelyidentify the user.

      • setApplication

         void setApplication(@NonNull() String application)

        Set an ID to the application

        Parameters:
        application - - The value to be set to the application field