onCreatePulseSession

abstract fun onCreatePulseSession(pulseHost: String, video: Video, contentMetadata: ContentMetadata, requestSettings: RequestSettings): PulseSession

Called every time a new Pulse Session is needed (e.g., when a new content Video is set). The Pulse Component will be handling this Pulse Session.

Return

a non-null instance of a Pulse Session.

Parameters

pulseHost

Pulse account host url.

video

The current content video.

contentMetadata

Content metadata to set Pulse properties.

requestSettings

Request Setting to set Pulse properties.