public class AmazonPlaybackEvent
extends java.lang.Object
builder()
function to create an
instance.Modifier and Type | Class and Description |
---|---|
static class |
AmazonPlaybackEvent.Builder
Builder class for object instantiation.
|
Modifier and Type | Method and Description |
---|---|
static AmazonPlaybackEvent.Builder |
builder()
Creates the builder object for the AmazonPlaybackInfo model.
|
void |
setPlaybackPositionMs(long playbackPositionMs)
Updates the customer's playback position progress in the content.
|
void |
setState(int state)
Updates the playback state.
|
public void setState(int state)
AmazonPlaybackState
for possible options. This can be used to update the existing instance to enable re-use in a single viewing session.state
- State representing the customers current state of viewing the content.public void setPlaybackPositionMs(long playbackPositionMs)
playbackPositionMs
- Playback position in milliseconds, offset from 0.public static AmazonPlaybackEvent.Builder builder()