Class Action.SendMessages

    • Constructor Detail

      • SendMessages

        public SendMessages​(@Size(max=23L)
                            String tag,
                            PlayerMessage.Target target,
                            long positionMs)
        Parameters:
        tag - A tag to use for logging.
        target - A message target.
        positionMs - The position at which the message should be sent, in milliseconds.
      • SendMessages

        public SendMessages​(String tag,
                            PlayerMessage.Target target,
                            int mediaItemIndex,
                            long positionMs,
                            boolean deleteAfterDelivery)
        Parameters:
        tag - A tag to use for logging.
        target - A message target.
        mediaItemIndex - The media item index at which the message should be sent, or C.INDEX_UNSET for the current media item.
        positionMs - The position at which the message should be sent, in milliseconds.
        deleteAfterDelivery - Whether the message will be deleted after delivery.