Package com.castlabs.android.player
Class PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
java.lang.Object
com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
- Enclosing class:
PlayerViewLifecycleDelegate.ResumeConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondisableTrickplay
(boolean disableTrickplay) Whether to disable any Trickplay modeget()
Builds and returns thePlayerViewLifecycleDelegate.ResumeConfiguration
pause
(boolean pause) Whether to start the player in a paused state.
-
Constructor Details
-
Builder
public Builder()
-
-
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
-