Action.SendMessages
class Action.SendMessages : Action
Calls createMessage and send.
Summary
Public constructors |
|---|
SendMessages( |
SendMessages( |
Protected functions |
|
|---|---|
Unit |
doActionImpl(Called by |
Public constructors
SendMessages
SendMessages(
tag: @Size(max = 23) String!,
target: PlayerMessage.Target!,
positionMs: Long
)
| Parameters | |
|---|---|
tag: @Size(max = 23) String! |
A tag to use for logging. |
target: PlayerMessage.Target! |
A message target. |
positionMs: Long |
The position at which the message should be sent, in milliseconds. |
SendMessages
SendMessages(
tag: String!,
target: PlayerMessage.Target!,
mediaItemIndex: Int,
positionMs: Long,
deleteAfterDelivery: Boolean
)
| Parameters | |
|---|---|
tag: String! |
A tag to use for logging. |
target: PlayerMessage.Target! |
A message target. |
mediaItemIndex: Int |
The media item index at which the message should be sent, or |
positionMs: Long |
The position at which the message should be sent, in milliseconds. |
deleteAfterDelivery: Boolean |
Whether the message will be deleted after delivery. |
Protected functions
doActionImpl
protected fun doActionImpl(
player: ExoPlayer!,
trackSelector: DefaultTrackSelector!,
surface: Surface?
): Unit
Called by doActionAndScheduleNextImpl to perform the action.
| Parameters | |
|---|---|
player: ExoPlayer! |
The player to which the action should be applied. |
trackSelector: DefaultTrackSelector! |
The track selector to which the action should be applied. |
surface: Surface? |
The surface to use when applying actions, or |