-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class VdoInitParams implements Parcelable
Initialization parameters specifying a media with other options that can be loaded to a VdoPlayer for playback.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
VdoInitParams.Builder
Builder class for creating VdoInitParams with additional options.
-
Field Summary
Fields Modifier and Type Field Description public final String
token
public final String
otp
public final String
playbackInfo
public final String
preferredCaptionsLanguage
public final boolean
offlinePlayback
public final String
mediaId
public final int
startTimeMs
public final int
endTimeMs
public final int
resumeTimeMs
public final boolean
autoplay
public final boolean
forceLowestBitrate
public final boolean
forceHighestSupportedBitrate
public final int
maxVideoBitrateKbps
public final int
bufferingGoalMs
public final Array<String>
techOverride
public final boolean
disableAnalytics
public final boolean
allowAdbDebugging
public final boolean
isAutoResumeEnabled
public HashMap<String, Object>
configMap
public final String
customPlayerId
public final String
playerConfigId
public final static Parcelable.Creator<VdoInitParams>
CREATOR
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
static VdoInitParams
createParamsWithOtp(String otp, String playbackInfo)
static VdoInitParams
createParamsWithToken(String token, String videoId)
Create VdoInitParams with otp and playbackInfo. static VdoInitParams
createParamsForOffline(String mediaId, boolean autoResumePosition)
static VdoInitParams
createParamsForOffline(String mediaId)
VdoInitParams.Builder
getBuilder()
Create a new Builder with the initial values from this VdoInitParams instance. int
describeContents()
void
writeToParcel(Parcel dest, int flags)
-
-
Method Detail
-
hashCode
int hashCode()
-
createParamsWithOtp
@Deprecated() static VdoInitParams createParamsWithOtp(String otp, String playbackInfo)
- Parameters:
otp
- otpplaybackInfo
- playbackInfo
-
createParamsWithToken
static VdoInitParams createParamsWithToken(String token, String videoId)
Create VdoInitParams with otp and playbackInfo.
- Parameters:
token
- tokenvideoId
- videoId
-
createParamsForOffline
static VdoInitParams createParamsForOffline(String mediaId, boolean autoResumePosition)
-
createParamsForOffline
static VdoInitParams createParamsForOffline(String mediaId)
-
getBuilder
VdoInitParams.Builder getBuilder()
Create a new Builder with the initial values from this VdoInitParams instance.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-