Package com.castlabs.android.player
Class PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
java.lang.Object
com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
- Enclosing class:
PlayerViewLifecycleDelegate.ResumeConfiguration
Builder for
PlayerViewLifecycleDelegate.ResumeConfiguration instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondisableTrickplay(boolean disableTrickplay) Whether to disable any Trickplay modeget()Builds and returns thePlayerViewLifecycleDelegate.ResumeConfigurationpause(boolean pause) Whether to start the player in a paused state.
-
Constructor Details
-
Builder
public Builder()Creates a new Builder with default values.
-
-
Method Details
-
pause
Whether to start the player in a paused state.- Parameters:
pause- the value- Returns:
- the Builder
-
disableTrickplay
public PlayerViewLifecycleDelegate.ResumeConfiguration.Builder disableTrickplay(boolean disableTrickplay) Whether to disable any Trickplay mode- Parameters:
disableTrickplay- the value- Returns:
- the Builder
-
get
Builds and returns thePlayerViewLifecycleDelegate.ResumeConfiguration- Returns:
- the built configuration
-