MetricsAdapter

open class MetricsAdapter

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun cardDismissed(@NonNull cardName: String, @NonNull userAction: String, @Nullable devices: List<DeviceInstance>)
Link copied to clipboard
Link copied to clipboard
Will be called when the cast introduction card is shown in the UI
Link copied to clipboard
Called when app connects to WIFI and scanning is started
Link copied to clipboard
Called when app detects WIFI/WAN device.
Link copied to clipboard
open fun deviceSelected()
Called when the device is selected.
Link copied to clipboard
Will be called when the device selection card is shown in the UI
Link copied to clipboard
open fun disable()
Link copied to clipboard
open fun enable()
Link copied to clipboard
open fun init(@NonNull context: Context)
open fun init(@NonNull context: Context, metricsObject: IMetrics)
Link copied to clipboard
open fun log(event: MetricsEvent, properties: MetricsProperties): Boolean
Link copied to clipboard
open fun logFailure(event: MetricsEvent, properties: MetricsProperties, deviceInstance: DeviceInstance)
Link copied to clipboard
open fun logStage(stage: MetricsEvent, stageTime: Long, totalTime: Long)
open fun logStage(stage: MetricsEvent, stageTime: Long, totalTime: Long, attributes: MetricsProperties)
Link copied to clipboard
open fun logStageCancelled(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, cancelValue: String)
open fun logStageCancelled(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, cancelValue: String, deviceInstance: DeviceInstance, attributes: MetricsProperties)
Link copied to clipboard
open fun logStageCancelledOrFailure(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, cancelValue: String, error: VizbeeError)
open fun logStageCancelledOrFailure(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, cancelValue: String, error: VizbeeError, deviceInstance: DeviceInstance, attributes: MetricsProperties)
Link copied to clipboard
open fun logStageFailure(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, error: VizbeeError)
open fun logStageFailure(event: MetricsEvent, currentStage: MetricsEvent, stageTime: Long, totalTime: Long, error: VizbeeError, deviceInstance: DeviceInstance, attributes: MetricsProperties)
Link copied to clipboard
Called when new device is discovered
Link copied to clipboard
open fun newMobileView(video: VideoInfo)
Called when user opts to watch the video on Mobile device
open fun newMobileView(appVideoObject: Any, smartPlayOptions: SmartPlayOptions, isFromSmartPlay: Boolean)
open fun newMobileView(video: VideoInfo, smartPlayOptions: SmartPlayOptions, isFromSmartPlay: Boolean)
Link copied to clipboard
open fun newTVView(video: VideoInfo)
Called when the user opts to watch the video on TV/Screen Device
Link copied to clipboard
open fun sdkEntry(videoInfo: VideoInfo, entryPoint: EntryPointManager.EntryPoint)
Log sdk entry point
Link copied to clipboard
Will be called when the smart install card is shown in the UI.
Link copied to clipboard
open fun vzbLinkReceived(guid: String, source: String, remoteSessionID: String, referrer: String)
Log Vizbee deeplink has been received