CEContentProgressProvider
Last updated
Last updated
package com.intowow.sdk.InStream
public static interface CEContentProgressProvider
This interface is used for InstreamAd
to let SDK know the current status of video content.
Public methods
long
long
boolean
long getContentCurrentPosition()
Please implement this function to provide the progress of video content that is playing. Please read this carefully: During the time user is seeking video, APP should always return the progress time that user start seeking instead of the current time that user has sought to. Once user stop seeking, please return the progress time that user stopped at.
Returns
long
Current progress time in millisecond
long getContentTotalDuration() Please implement this function to provide the duration of video content.
Returns
long
Duration of current video in millisecond
boolean isContentPlayerReady()
Please implement this function to notify once video content player is ready.
Returns
boolean
true
for ready, otherwise false
Please implement this function to provide progress of video content. Current position must be exclusively handled as user is seeking. Please refer to below **detail.**
Please implement this function to provide the duration of video content.
Please implement this function to notify once video content player is ready.