public class

SmsRegistrationOptions

extends Object
implements JsonSerializable
java.lang.Object
   ↳ com.urbanairship.contacts.SmsRegistrationOptions

Class Overview

Sms registration options.

Summary

Constants
String SENDER_ID_KEY
Public Methods
static SmsRegistrationOptions options(String senderId)
Creates default options.
JsonValue toJsonValue()
Returns the objects represented as a JsonValue.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.json.JsonSerializable

Constants

public static final String SENDER_ID_KEY

Constant Value: "sender_id"

Public Methods

public static SmsRegistrationOptions options (String senderId)

Creates default options.

Parameters
senderId The sender Id.
Returns
  • The sms options.

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.