Package com.vdocipher.aegis.player
Class VdoPlayerSetting
-
- All Implemented Interfaces:
public final class VdoPlayerSetting extends VdoPlayerSettingInternal
VdoPlayerSetting is a configuration class for setting up playback behavior in a VdoPlayer. It provides various options for customizing the player's behavior, such as playback mode, buffer settings, and download location.
This class is immutable and can be built using the Builder class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
VdoPlayerSetting.VdoPlaybackMode
The different playback modes, each providing a different level of persistence.
public final class
VdoPlayerSetting.Builder
Builder class for constructing a VdoPlayerSetting instance.
Allows for customization of various playback settings before creating an immutable VdoPlayerSetting object.
-
Constructor Summary
Constructors Constructor Description VdoPlayerSetting(VdoPlayerSetting.Builder builder)
Constructs a VdoPlayerSetting with the specified builder.
-
Method Summary
Modifier and Type Method Description void
applySettings(Context context)
Applies the current settings to the specified context. -
-
Constructor Detail
-
VdoPlayerSetting
VdoPlayerSetting(VdoPlayerSetting.Builder builder)
Constructs a VdoPlayerSetting with the specified builder.- Parameters:
builder
- The Builder object containing the desired settings.
-
-
Method Detail
-
applySettings
void applySettings(Context context)
Applies the current settings to the specified context.
- Parameters:
context
- The context in which to apply the settings.
-
-
-
-