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 given Player instance

    Declaration

    Swift

    public static func from(player: Player) -> PlayerAnalyticsApi?

    Parameters

    player

    The Player instance for which the PlayerAnalyticsApi should be returned