public class

CustomDisplayContent

extends Object
implements DisplayContent
java.lang.Object
   ↳ com.urbanairship.iam.custom.CustomDisplayContent

Class Overview

Display content for a TYPE_CUSTOM in-app message.

Summary

[Expand]
Inherited Constants
From interface com.urbanairship.iam.DisplayContent
Public Constructors
CustomDisplayContent(JsonValue value)
Default constructor.
Public Methods
boolean equals(Object o)
static CustomDisplayContent fromJson(JsonValue value)
Parses a json value.
JsonValue getValue()
Gets the custom value.
int hashCode()
JsonValue toJsonValue()
Returns the objects represented as a JsonValue.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.json.JsonSerializable

Public Constructors

public CustomDisplayContent (JsonValue value)

Default constructor.

Parameters
value The json payload.

Public Methods

public boolean equals (Object o)

public static CustomDisplayContent fromJson (JsonValue value)

Parses a json value.

Parameters
value The json value.
Returns
  • A custom display content instance.
Throws
JsonException

public JsonValue getValue ()

Gets the custom value.

Returns
  • The custom value.

public int hashCode ()

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.