Class: AnalyticsPlugin

empAnalytics~ AnalyticsPlugin


new AnalyticsPlugin(player [, options])

AnalyticsPlugin

Parameters:
Name Type Argument Description
player Player

The Player that this class should be attached to.

options Object <optional>

The key/value store of player options.

Members


connector

Getter for analyticsConnector

Methods


dispose()

dispose Analytics


newAnalytics( [opt])

Create a new Analytics session

Parameters:
Name Type Argument Description
opt Object <optional>

options


onEntitlementLoadStart()

Call onEntitlementLoadStart


onError(e)

Call onError

Parameters:
Name Type Description
e Error

onWindowUnload()

Call onWindowUnload


options( [opt])

Set or get the key/value store of analytics options.

Parameters:
Name Type Argument Description
opt Object <optional>

options

Returns:

options

Type
Object

stop()

stop Analytics


stopCasting()

stopCasting


version()

Get version

Returns:

version

Type
string

Class: AnalyticsPlugin

empAnalytics~ AnalyticsPlugin


new AnalyticsPlugin(player [, options])

constructor

Parameters:
Name Type Argument Description
player Player

The Player that this class should be attached to.

options Object <optional>

The key/value store of player options.

Members


connector

Getter for analyticsConnector

Methods


dispose()

dispose Analytics


newAnalytics( [opt])

Create a new Analytics session

Parameters:
Name Type Argument Description
opt Object <optional>

options


onEntitlementLoadStart()

Call onEntitlementLoadStart


onError(e)

Call onError

Parameters:
Name Type Description
e Error

onWindowUnload()

Call onWindowUnload


options( [opt])

Set or get the key/value store of analytics options.

Parameters:
Name Type Argument Description
opt Object <optional>

options

Returns:

options

Type
Object

stop()

stop Analytics


stopCasting()

stopCasting


version()

Get version

Returns:

version

Type
string