Classes

The following classes are available globally.

  • A class containing coordinate data.

    See more

    Declaration

    Objective-C

    @interface AVACoordinates : NSObject

    Swift

    class AVACoordinates : NSObject
  • @abstract Settings to adjust a carousel layout

    See more

    Declaration

    Objective-C

    @interface AVADisplaySettings : NSObject

    Swift

    class AVADisplaySettings : NSObject
  • @abstract An action associated to a particular AVAMessage.

    Actions are rendered as buttons in the AvMessagingSdk conversation screen, and may be of type AVAMessageActionTypeLink, AVAMessageActionTypeBuy or AVAMessageActionTypePostback.

    See

    AVAMessage
    See more

    Declaration

    Objective-C

    @interface AVAMessageAction : NSObject

    Swift

    class AVAMessageAction : NSObject
  • A class representing a message item.

    See more

    Declaration

    Objective-C

    @interface AVAMessageItem : NSObject

    Swift

    class AVAMessageItem : NSObject
  • A class representing a conversation participant.

    See more

    Declaration

    Objective-C

    @interface AVAParticipant : NSObject <NSSecureCoding>

    Swift

    class AVAParticipant : NSObject, NSSecureCoding
  • A class representing a user.

    See more

    Declaration

    Objective-C

    @interface AVAUser : NSObject

    Swift

    class AVAUser : NSObject
  • @abstract The core class used for interacting with AvMessagingSdk. Provides methods to initialize, configure, and interact with the library.

    See more

    Declaration

    Objective-C

    @interface AvMessagingSdk : NSObject

    Swift

    class AvMessagingSdk : NSObject
  • @discussion The AVAConversation class provides an interface to interact with the current user’s conversation.

    To obtain an instance, use [AvMessagingSdk conversation]. +initWithSettings:completionHandler: must have been called prior to retrieving the shared conversation object.

    To send a message, use -sendMessage: with an AVAMessage object

    Example:

    [[AvMessagingSdk conversation] sendMessage:[[AVAMessage alloc] initWithText:@"Hello World!"]];

    A notification will be fired indicating the success or failure of the message. To subscribe to these notifications, use NSNotificationCenter.

    Example:

    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(messageUploaded:) name:AVAMessageUploadCompletedNotification object:nil];

    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(messageFailed:) name:AVAMessageUploadFailedNotification object:nil];

    See

    AVAMessage

    See

    AvMessagingSdk
    See more

    Declaration

    Objective-C

    @interface AVAConversation : NSObject <NSSecureCoding>

    Swift

    class AVAConversation : NSObject, NSSecureCoding
  • An activity related to a AVAConversation

    See more

    Declaration

    Objective-C

    @interface AVAConversationActivity : NSObject

    Swift

    class AVAConversationActivity : NSObject
  • A class representing a message.

    See more

    Declaration

    Objective-C

    @interface AVAMessage : NSObject <NSSecureCoding>

    Swift

    class AVAMessage : NSObject, NSSecureCoding
  • A class that exposes options to customise the SDK.

    See more

    Declaration

    Objective-C

    @interface AVASettings : NSObject

    Swift

    class AVASettings : NSObject