Package com.castlabs.android.player.models

# Class EventMessage.Builder

java.lang.Object
com.castlabs.android.player.models.EventMessage.Builder

Enclosing class:
  EventMessage

public static class EventMessage.Builder extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `EventMessage.Builder`
  `durationMs(long durationMs)`
  The duration of the event in milliseconds.
  `EventMessage`
  `get()`
  `EventMessage.Builder`
  `id(long id)`
  The instance identifier.
  `EventMessage.Builder`
  `messageData(byte[] messageData)`
  The body of the message.
  `EventMessage.Builder`
  `schemeIdUri(String schemeIdUri)`
  The message scheme.
  `EventMessage.Builder`
  `value(String value)`
  The value for the event.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### schemeIdUri

    public EventMessage.Builder schemeIdUri(String schemeIdUri)
    The message scheme.

  - ### value

    public EventMessage.Builder value(String value)
    The value for the event.

  - ### durationMs

    public EventMessage.Builder durationMs(long durationMs)
    The duration of the event in milliseconds.

  - ### id

    public EventMessage.Builder id(long id)
    The instance identifier.

  - ### messageData

    public EventMessage.Builder messageData(byte[] messageData)
    The body of the message.

  - ### get

    public EventMessage get()