# Classes

The following classes are available globally.

- `AVACoordinates`

  A class containing coordinate data.

  See more

  #### Declaration

  Objective-C

      @interface AVACoordinates : NSObject

  Swift

      class AVACoordinates : NSObject

- `AVADisplaySettings`

  @abstract Settings to adjust a carousel layout

  See more

  #### Declaration

  Objective-C

      @interface AVADisplaySettings : NSObject

  Swift

      class AVADisplaySettings : NSObject

- `AVAMessageAction`

  @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

- `AVAMessageItem`

  A class representing a message item.

  See more

  #### Declaration

  Objective-C

      @interface AVAMessageItem : NSObject

  Swift

      class AVAMessageItem : NSObject

- `AVAParticipant`

  A class representing a conversation participant.

  See more

  #### Declaration

  Objective-C

      @interface AVAParticipant : NSObject <NSSecureCoding>

  Swift

      class AVAParticipant : NSObject, NSSecureCoding

- `AVAUser`

  A class representing a user.

  See more

  #### Declaration

  Objective-C

      @interface AVAUser : NSObject

  Swift

      class AVAUser : NSObject

- `AvMessagingSdk`

  @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

- `AVAConversation`

  @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

- `AVAConversationActivity`

  An activity related to a `AVAConversation`

  See more

  #### Declaration

  Objective-C

      @interface AVAConversationActivity : NSObject

  Swift

      class AVAConversationActivity : NSObject

- `AVAMessage`

  A class representing a message.

  See more

  #### Declaration

  Objective-C

      @interface AVAMessage : NSObject <NSSecureCoding>

  Swift

      class AVAMessage : NSObject, NSSecureCoding

- `AVASettings`

  A class that exposes options to customise the SDK.

  See more

  #### Declaration

  Objective-C

      @interface AVASettings : NSObject

  Swift

      class AVASettings : NSObject

© 2022 . All rights reserved. (Last updated: 2022-06-30)

Generated by jazzy ♪♫ v0.14.2, a Realm project.