public final enum

Scope

extends Enum<E extends Enum<E>>
implements JsonSerializable
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.urbanairship.contacts.Scope

Class Overview

Defines the scope of channels.

Summary

Enum Values
Scope  APP  App channels - Android, Amazon, and iOS. 
Scope  EMAIL  EMAIL channels. 
Scope  SMS  SMS channels. 
Scope  WEB  Web channels. 
Public Methods
static Scope fromJson(JsonValue value)
JsonValue toJsonValue()
Returns the objects represented as a JsonValue.
String toString()
static Scope valueOf(String name)
final static Scope[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface com.urbanairship.json.JsonSerializable
From interface java.lang.Comparable

Enum Values

public static final Scope APP

App channels - Android, Amazon, and iOS.

public static final Scope EMAIL

EMAIL channels.

public static final Scope SMS

SMS channels.

public static final Scope WEB

Web channels.

Public Methods

public static Scope fromJson (JsonValue value)

Throws
JsonException

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.

public String toString ()

public static Scope valueOf (String name)

public static final Scope[] values ()