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
nilif Analytics is not enabled for the givenPlayerinstanceDeclaration
Swift
public static func from(player: Player) -> PlayerAnalyticsApi?Parameters
playerThe
Playerinstance for which thePlayerAnalyticsApishould be returned
PlayerAnalyticsApiAccessor Class Reference