Package com.vdocipher.aegis.player
Class VdoPlayerSetting
-
- All Implemented Interfaces:
public final class VdoPlayerSetting extends VdoPlayerSettingInternalVdoPlayerSetting 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 enumVdoPlayerSetting.VdoPlaybackModeThe different playback modes, each providing a different level of persistence.
public final classVdoPlayerSetting.BuilderBuilder 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 voidapplySettings(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.
-
-
-
-