Player
public extension Player
Extends the Player
with additional methods to allow interactions with Analytics
-
Allows access to the Analytics APIs
Returns
nil
if Analytics is not enabled for thePlayer
From ObjC, use
PlayerAnalyticsApiAccessor.from(player:)
to retrieve the accordingPlayerAnalyticsApi
.Declaration
Swift
var analytics: PlayerAnalyticsApi? { get }