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)
JsonValue getValue()
Gets the custom value.
int hashCode()
static CustomDisplayContent parseJson(JsonValue jsonValue)
Parses a json value.
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 JsonValue getValue ()

Gets the custom value.

Returns
  • The custom value.

public int hashCode ()

public static CustomDisplayContent parseJson (JsonValue jsonValue)

Parses a json value.

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

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.