Package com.castlabs.android.player
Class PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
- java.lang.Object
-
- com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
-
- Enclosing class:
- PlayerViewLifecycleDelegate.ResumeConfiguration
public static final class PlayerViewLifecycleDelegate.ResumeConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
disableTrickplay(boolean disableTrickplay)
Whether to disable any Trickplay modePlayerViewLifecycleDelegate.ResumeConfiguration
get()
Builds and returns thePlayerViewLifecycleDelegate.ResumeConfiguration
PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
pause(boolean pause)
Whether to start the player in a paused state.
-
-
-
Method Detail
-
pause
public PlayerViewLifecycleDelegate.ResumeConfiguration.Builder pause(boolean 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
public PlayerViewLifecycleDelegate.ResumeConfiguration get()
Builds and returns thePlayerViewLifecycleDelegate.ResumeConfiguration
- Returns:
- the built configuration
-
-