Vdo Init Params
VdoInitParams
is a final class that encapsulates the initialization parameters required to load a media into a VdoPlayer for playback. This class includes various configurations and options such as the media's token, OTP, playback information, captions language, and more. These parameters can be specified for either online or offline playback.
Instances of VdoInitParams
can be created using the Builder class.
VdoInitParams
implements the Parcelable interface to allow it to be passed between Android components.
Note: For online playback, you should either use the setOtp and setPlaybackInfo methods together or use the setVideoId and setToken methods together.
Types
Link copied to clipboard
Builder class for constructing instances of VdoInitParams.
Properties
Link copied to clipboard
Whether to allow ADB (Android Debug Bridge) debugging during playback.
Link copied to clipboard
Link copied to clipboard
The custom player ID for identifying a specific player configuration.
Link copied to clipboard
Whether to disable analytics tracking.
Link copied to clipboard
Whether to force the use of the highest supported bitrate.
Link copied to clipboard
Whether to force the use of the lowest bitrate available.
Link copied to clipboard
Indicates whether automatic resume functionality is enabled.
Link copied to clipboard
The language code for the player.
Link copied to clipboard
Link copied to clipboard
The maximum video bitrate in kilobits per second.
Link copied to clipboard
Whether offline playback is enabled.
Link copied to clipboard
The playback information used for secure playback.
Link copied to clipboard
The preferred captions language for video playback.
Link copied to clipboard
The resume time in milliseconds for resuming playback.
Link copied to clipboard
The showClipping in boolean to clip the video from given startTime and endTime.
Link copied to clipboard
Whether to skip the Media3 version check.
Link copied to clipboard
The start time in milliseconds for video playback.
Link copied to clipboard
The technology override for media playback.
Link copied to clipboard
Metadata associated with the media content.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Create VdoInitParams with otp and playbackInfo.
Link copied to clipboard
Link copied to clipboard
Create a new Builder with the initial values from this VdoInitParams instance.
Link copied to clipboard