Package com.zello.sdk

Class MessageOut

java.lang.Object
com.zello.sdk.MessageOut

public class MessageOut extends Object
The MessageOut class represents an outgoing voice message.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    Returns the instance of the Contact that the outgoing message is being sent to.
    boolean
    Determines if the MessageOut is currently in progress or not.
    boolean
    Determines if a connection is currently being established between the user and the recipient.
    void
    Resets the MessageOut instance back to the default values.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MessageOut

      public MessageOut()
  • Method Details

    • reset

      public void reset()

      Resets the MessageOut instance back to the default values.

      This method does not affect the state of the outgoing message to the Zello Work app. This method only resets the values for this copied instance of the MessageOut.

    • clone

      public MessageOut clone()
    • getTo

      @NonNull public Contact getTo()

      Returns the instance of the Contact that the outgoing message is being sent to.

      Returns:
      The Contact receiving the message.
    • isActive

      public boolean isActive()

      Determines if the MessageOut is currently in progress or not.

      Returns:
      boolean indicating if the outgoing message is currently active.
    • isConnecting

      public boolean isConnecting()

      Determines if a connection is currently being established between the user and the recipient.

      Returns:
      boolean indicating if the Contacts are connecting.