Type Definitions
-
agentErrorCallback(error)
-
Name Type Description errorobject The error object
-
OtvAnalyticsAgentConfigObject
-
Properties:
Name Type Description onErroragentErrorCallback The error callback function
destinationsArray.<UAVDestinationConfig> An array of destination configurations
Note: An empty array will disable UAV reporting.
deviceIdstring The unique identifier for the device
accountIdstring The account ID for the analytics account
userIdstring The unique identifier for the user
appVersionstring The version of the application
-
OtvAnalyticsWrapperConfigObject
-
Properties:
Name Type Argument Default Description insightConfigOtvInsightWrapperConfig Configuration for the Insight Wrapper. If not configured, Insight will be disabled and metrics and player errors will be reported via UAV Agent. If configured, Insight will take precedence over the UAV Agent for metrics and errors.
samplePeriodnumber <optional>
20 The period in seconds between sampling of player metrics
-
OtvInsightWrapperConfigObject
-
Properties:
Name Type Description collectorURLstring The URL of the Insight Collector end-point
reportingIntervalnumber The period in seconds between reporting of player metrics
samplingIntervalnumber The period in seconds between sampling of player metrics
appNamestring The name of the application
appVersionstring The version of the application
deviceTypestring The type of device
operatorIdstring The ID of the operator
deviceIdstring The ID of the device
-
UAVDestinationAccessConfigObject
-
Properties:
Name Type Description urlstring The destination end-point URL
tokenstring The access token for the destination
-
UAVDestinationConfigObject
-
Properties:
Name Type Description namestring The name of the destination
configUAVDestinationAccessConfig Specific configuration for the destination