Classes
The following classes are available globally.
-
A class containing coordinate data.
See moreDeclaration
Objective-C
@interface AVACoordinates : NSObjectSwift
class AVACoordinates : NSObject -
@abstract Settings to adjust a carousel layout
See moreDeclaration
Objective-C
@interface AVADisplaySettings : NSObjectSwift
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,AVAMessageActionTypeBuyorAVAMessageActionTypePostback.See moreSee
AVAMessageDeclaration
Objective-C
@interface AVAMessageAction : NSObjectSwift
class AVAMessageAction : NSObject -
A class representing a message item.
See moreDeclaration
Objective-C
@interface AVAMessageItem : NSObjectSwift
class AVAMessageItem : NSObject -
A class representing a conversation participant.
See moreDeclaration
Objective-C
@interface AVAParticipant : NSObject <NSSecureCoding>Swift
class AVAParticipant : NSObject, NSSecureCoding -
A class representing a user.
See moreDeclaration
Objective-C
@interface AVAUser : NSObjectSwift
class AVAUser : NSObject -
@abstract The core class used for interacting with AvMessagingSdk. Provides methods to initialize, configure, and interact with the library.
See moreDeclaration
Objective-C
@interface AvMessagingSdk : NSObjectSwift
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
AVAMessageSee moreSee
AvMessagingSdkDeclaration
Objective-C
@interface AVAConversation : NSObject <NSSecureCoding>Swift
class AVAConversation : NSObject, NSSecureCoding -
An activity related to a
See moreAVAConversationDeclaration
Objective-C
@interface AVAConversationActivity : NSObjectSwift
class AVAConversationActivity : NSObject -
A class representing a message.
See moreDeclaration
Objective-C
@interface AVAMessage : NSObject <NSSecureCoding>Swift
class AVAMessage : NSObject, NSSecureCoding -
A class that exposes options to customise the SDK.
See moreDeclaration
Objective-C
@interface AVASettings : NSObjectSwift
class AVASettings : NSObject
Classes Reference