PlayerAnalyticsApiAccessor
@objcMembers
@objc(BPAPlayerAnalyticsApiAccessor)
public class PlayerAnalyticsApiAccessor : NSObject
Provides an ObjC way of accessing the Analytics
namespace for a given Player
instance.
-
Allows access to the Analytics APIs from Obj-C.
Returns
nil
if Analytics is not enabled for the givenPlayer
instanceDeclaration
Swift
public static func from(player: Player) -> PlayerAnalyticsApi?
Parameters
player
The
Player
instance for which thePlayerAnalyticsApi
should be returned