Class VdoInitParams

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public final class VdoInitParams
     implements Parcelable
                        

    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.