Classes

The following classes are available globally.

  • Pre-defined event that is used to signal the startup of the host application.

    See more

    Declaration

    Swift

    @objc
    public class AppStartEvent : Event
  • Custom event that the host app can call with a custom event name.

    See more

    Declaration

    Swift

    @objc
    public class CustomEvent : Event
  • Event object that acts as the super class for other pre-defined Event classes. Implements Codable in order for it to be encoded/decoded as a data type and store/load from a property list.

    See more

    Declaration

    Swift

    @objc
    public class Event : NSObject
  • Pre-defined event that is used to signal the success of a login action.

    See more

    Declaration

    Swift

    @objc
    public class LoginSuccessfulEvent : Event
  • Pre-defined event that is used to signal the success of a purchase action.

    See more

    Declaration

    Swift

    @objc
    public class PurchaseSuccessfulEvent : Event
  • Model to represent a custom attribute that is returned by the ping request in triggers.

    See more

    Declaration

    Swift

    @objc
    public class CustomAttribute : NSObject
  • Class that contains the public methods for host application to call. Entry point for host application to communicate with InAppMessaging. Conforms to NSObject and exposed with objc tag to make it work with Obj-c projects.

    See more

    Declaration

    Swift

    @objc
    public final class RInAppMessaging : NSObject