Classes
The following classes are available globally.
-
A class containing coordinate data.
See moreDeclaration
Objective-C
@interface AVACoordinates : NSObject
Swift
class AVACoordinates : NSObject
-
@abstract Settings to adjust a carousel layout
See moreDeclaration
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
orAVAMessageActionTypePostback
.See
AVAMessageDeclaration
Objective-C
@interface AVAMessageAction : NSObject
Swift
class AVAMessageAction : NSObject
-
A class representing a message item.
See moreDeclaration
Objective-C
@interface AVAMessageItem : NSObject
Swift
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 : 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 moreDeclaration
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
AVAMessageSee
AvMessagingSdkDeclaration
Objective-C
@interface AVAConversation : NSObject <NSSecureCoding>
Swift
class AVAConversation : NSObject, NSSecureCoding
-
An activity related to a
See moreAVAConversation
Declaration
Objective-C
@interface AVAConversationActivity : NSObject
Swift
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 : NSObject
Swift
class AVASettings : NSObject