Class AdColonyCustomMessage


  • public class AdColonyCustomMessage
    extends java.lang.Object
    Instances of this class are sent to or received from AdColony for possible custom behavior.
    • Constructor Summary

      Constructors 
      Constructor Description
      AdColonyCustomMessage​(java.lang.String type, java.lang.String message)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AdColonyCustomMessage

        public AdColonyCustomMessage​(java.lang.String type,
                                     java.lang.String message)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Used to retrieve the message String tied to this object.
        Returns:
        the message String tied to this object, or null if none has been set.
      • getType

        public java.lang.String getType()
        Used to retrieve the message type.
        Returns:
        the message type, or null if none has been set.
      • set

        public AdColonyCustomMessage set​(java.lang.String type,
                                         java.lang.String message)
        Use this method to set the type and message Strings for this object.
        Parameters:
        type - the message type.
        message - the message String to be sent.
        Returns:
        'this' for chaining.
      • send

        public void send()
        Sends the custom message to AdColony.