| java.lang.Object | |
| ↳ | com.google.android.gms.cast.framework.media.NotificationOptions |
Configuration parameters for building the media notification. The
NotificationOptions.Builder is used to create an instance of NotificationOptions,
and so contains the corresponding setter methods..
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| NotificationOptions.Builder | A builder to create an instance of NotificationOptions. |
||||||||||
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| long | SKIP_STEP_TEN_SECONDS_IN_MS | Constant for notification skip step, ten seconds in milliseconds. | |||||||||
| long | SKIP_STEP_THIRTY_SECONDS_IN_MS | Constant for notification skip step, thirty seconds in milliseconds. | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.google.android.gms.common.internal.safeparcel.SafeParcelable
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the list of actions to show in the notification.
| |||||||||||
Returns a copy of the indices of the actions which should be shown in the compact form of the
notification.
| |||||||||||
Returns the resource ID of the icon that indicates a "disconnect" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "skip forward 10 seconds" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "skip forward 30 seconds" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "skip forward" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "pause" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "play" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "rewind 10 seconds" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "rewind 30 seconds" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "rewind" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "skip next" button.
| |||||||||||
Returns the resource ID of the icon that indicates a "skip previous" button.
| |||||||||||
Returns the amount to jump if
ACTION_FORWARD or
ACTION_REWIND are included in the notification actions. | |||||||||||
Returns the resource ID of the small icon that will be used to build the notification.
| |||||||||||
Returns the resource ID of the icon that indicates a "stop playing live stream" button.
| |||||||||||
Returns the name of the
Activity that will be launched when user taps on the
content area of the notification. | |||||||||||
Returns a string representation of this object.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
android.os.Parcelable
| |||||||||||
Constant for notification skip step, ten seconds in milliseconds.
Constant for notification skip step, thirty seconds in milliseconds.
Returns the list of actions to show in the notification.
Returns a copy of the indices of the actions which should be shown in the compact form of the notification.
Returns the resource ID of the icon that indicates a "disconnect" button. You can override
the alias drawable ic_notification_disconnect.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "skip forward 10 seconds" button. You
can override the alias drawable ic_notification_forward10.xml to specify your own
icon.
Returns the resource ID of the icon that indicates a "skip forward 30 seconds" button. You
can override the alias drawable ic_notification_forward30.xml to specify your own
icon.
Returns the resource ID of the icon that indicates a "skip forward" button. You can override
the alias drawable ic_notification_forward.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "pause" button. You can override the
alias drawable ic_notification_pause.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "play" button. You can override the
alias drawable ic_notification_play.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "rewind 10 seconds" button. You can
override the alias drawable ic_notification_rewind10.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "rewind 30 seconds" button. You can
override the alias drawable ic_notification_rewind30.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "rewind" button. You can override the
alias drawable ic_notification_rewind.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "skip next" button. You can override the
alias drawable ic_notification_skip_next.xml to specify your own icon.
Returns the resource ID of the icon that indicates a "skip previous" button. You can override
the alias drawable ic_notification_skip_prev.xml to specify your own icon.
Returns the amount to jump if ACTION_FORWARD or
ACTION_REWIND are included in the notification actions. Any
tap on those actions will result in moving the media position forward or backward by
skipStepMs milliseconds. The default value is SKIP_STEP_TEN_SECONDS_IN_MS.
Returns the resource ID of the small icon that will be used to build the notification. You
can override the alias drawable ic_notification_small_icon.xml to specify your own
icon.
Returns the resource ID of the icon that indicates a "stop playing live stream" button. You
can override the alias drawable ic_notification_stop_live_stream.xml to specify your
own icon.
Returns the name of the Activity that will be launched when user taps on the
content area of the notification.
Returns a string representation of this object.