Interface ConversationChannelCredentials


public interface ConversationChannelCredentials
Enables access to the underlying messaging channel.

Use the ConversationChannelCredentialsBuilderFactory factory builder helper to create credentials related to channel

See Also:
  • Method Details

    • getCredentials

      ChannelCredentials getCredentials()
      Get credentials related to conversation channel
      Returns:
      credentials
    • getCallbackSecret

      String getCallbackSecret()
      The secret used to verify the channel callbacks for channels which support callback verification. The callback verification is not needed for Sinch-managed channels because the callbacks are not leaving Sinch internal networks. Max length is 256 characters. Note: leaving channel_callback_secret empty for channels with callback verification will disable the verification.
      Returns:
      callbackSecret
    • getChannel

      ConversationChannel getChannel()
      Get channel
      Returns:
      channel
    • getState

      Get state
      Returns:
      state
      Read Only
      This field is returned by the server and cannot be modified
    • getChannelKnownId

      String getChannelKnownId()
      Additional identifier set by the channel that represents an specific id used by the channel.
      Returns:
      channelKnownId
      Read Only
      This field is returned by the server and cannot be modified
    • builder

      Getting builder
      Returns:
      New Builder instance