public class AdColonyCustomMessage
extends java.lang.Object
| Constructor and Description |
|---|
AdColonyCustomMessage(java.lang.String type,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Used to retrieve the message String tied to this object.
|
java.lang.String |
getType()
Used to retrieve the message type.
|
void |
send()
Sends the custom message to AdColony.
|
AdColonyCustomMessage |
set(java.lang.String type,
java.lang.String message)
Use this method to set the type and message Strings for this object.
|
public AdColonyCustomMessage(@NonNull
java.lang.String type,
@NonNull
java.lang.String message)
public java.lang.String getMessage()
public java.lang.String getType()
public AdColonyCustomMessage set(java.lang.String type, java.lang.String message)
type - the message type.message - the message String to be sent.public void send()