public class

AirshipLayoutDisplayContent

extends Object
implements DisplayContent
java.lang.Object
   ↳ com.urbanairship.iam.layout.AirshipLayoutDisplayContent

Class Overview

Display content for a TYPE_AIRSHIP_LAYOUT in-app message.

Summary

[Expand]
Inherited Constants
From interface com.urbanairship.iam.DisplayContent
Public Methods
boolean equals(Object o)
static AirshipLayoutDisplayContent fromJson(JsonValue value)
Parses HTML display JSON.
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 Methods

public boolean equals (Object o)

public static AirshipLayoutDisplayContent fromJson (JsonValue value)

Parses HTML display JSON.

Parameters
value The json payload.
Returns
  • The parsed display content.
Throws
JsonException If the json was unable to be parsed.

public int hashCode ()

public JsonValue toJsonValue ()

Returns the objects represented as a JsonValue.

Returns
  • The object as a JsonValue.