Inherits from UIViewController
Conforms to UIViewControllerPreviewingDelegate
Declared in BXUMessageTableViewController.h

Overview

Component to show all the messages in one conversation, or all the messages for all conversations at the same time. It includes support to send/receive messages with attachments and make calls.

Properties

address

Identity to apply to this component.

@property (strong, nonatomic) Bit6Address *address

Declared In

BXUMessageTableViewController.h

audioMaxDuration

Maximum allowed duration (in seconds) of the audio files to be recorded.

@property (nonatomic) CGFloat audioMaxDuration

Declared In

BXUMessageTableViewController.h

biggerEmojis

Used to show emojis in the conversation without a bubble, in a bigger font. This will only apply if there’s one single emoji, without any additional text. By default is NO.

@property (nonatomic) BOOL biggerEmojis

Declared In

BXUMessageTableViewController.h

callButtonAddress

Identity to apply only to the call button. This identity will be use to determine the contact to call.

@property (strong, nonatomic) Bit6Address *callButtonAddress

Discussion

Note: You usually don’t need to set this property because it is set to the same value as <BXUMessageTableViewController.address>

Declared In

BXUMessageTableViewController.h

callButtonItem

Reference to the call button item in self.navigationItem.rightBarButtonItem

@property (strong, nonatomic, readonly) UIBarButtonItem *callButtonItem

Declared In

BXUMessageTableViewController.h

composePanelAddress

Identity to apply only to the compose panel. This identity will be use to set the destination of the outgoing messages.

@property (strong, nonatomic) Bit6Address *composePanelAddress

Discussion

Note: You usually don’t need to set this property because it is set to the same value as <BXUMessageTableViewController.address>

Declared In

BXUMessageTableViewController.h

enableAudioAttachments

Used to enable sending audio recordings in the conversation. By default is YES.

@property (nonatomic) BOOL enableAudioAttachments

Declared In

BXUMessageTableViewController.h

enableLocationAttachments

Used to enable sending the current location in the conversation. By default is YES.

@property (nonatomic) BOOL enableLocationAttachments

Declared In

BXUMessageTableViewController.h

enablePhotoAttachments

Used to enable sending photo attachments in the conversation. By default is YES.

@property (nonatomic) BOOL enablePhotoAttachments

Declared In

BXUMessageTableViewController.h

enableVideoAttachments

Used to enable sending video attachments in the conversation. By default is YES.

@property (nonatomic) BOOL enableVideoAttachments

Declared In

BXUMessageTableViewController.h

messages

List of messages showing in the tableView

@property (nullable, strong, nonatomic, readonly) NSArray<Bit6Message*> *messages

Declared In

BXUMessageTableViewController.h

peekAndPopDisabled

Set this property to YES when creating this viewController to disable PeekAndPop in the attachment thumbnails.

@property (nonatomic) BOOL peekAndPopDisabled

Declared In

BXUMessageTableViewController.h

tableView

Reference to the tableView

@property (strong, nonatomic, readonly) UITableView *tableView

Declared In

BXUMessageTableViewController.h

tableViewAddress

Identity to apply only to the table view. This identity will be use to set which messages to show in the table.

@property (nullable, strong, nonatomic) Bit6Address *tableViewAddress

Discussion

Note: You usually don’t need to set this property because it is set to the same value as <BXUMessageTableViewController.address>

Declared In

BXUMessageTableViewController.h

titleLabel

Reference to the title label in self.navigationItem.titleView

@property (nullable, weak, nonatomic, readonly) BXUContactNameLabel *titleLabel

Declared In

BXUMessageTableViewController.h

titleLabelAddress

Identity to apply only to the title label. This identity will be use to determine the title of the view controller.

@property (strong, nonatomic) Bit6Address *titleLabelAddress

Discussion

Note: You usually don’t need to set this property because it is set to the same value as <BXUMessageTableViewController.address>

Declared In

BXUMessageTableViewController.h

typingLabel

Reference to the typing label in self.navigationItem.titleView

@property (nullable, weak, nonatomic, readonly) BXUTypingLabel *typingLabel

Declared In

BXUMessageTableViewController.h

typingLabelAddress

Identity to apply only to the typing label. This identity will be use to detect when a contact is typing.

@property (nullable, strong, nonatomic) Bit6Address *typingLabelAddress

Discussion

Note: You usually don’t need to set this property because it is set to the same value as <BXUMessageTableViewController.address>

Declared In

BXUMessageTableViewController.h

videoMaxDuration

Maximum allowed duration (in seconds) of the video files to be sent.

@property (nonatomic) CGFloat videoMaxDuration

Declared In

BXUMessageTableViewController.h

Instance Methods

didSelectImageMessage:

Called after an image attachment has been tapped. The default implementation does nothing. You usually override this method to perform additional operations.

- (void)didSelectImageMessage:(Bit6Message *)message

Parameters

message

message of the attachment tapped.

Declared In

BXUMessageTableViewController.h

didSelectLocationMessage:

Called after an location attachment has been tapped. The default implementation does nothing. You usually override this method to perform additional operations.

- (void)didSelectLocationMessage:(Bit6Message *)message

Parameters

message

message of the attachment tapped.

Declared In

BXUMessageTableViewController.h

didSelectVideoMessage:

Called after an video attachment has been tapped. The default implementation does nothing. You usually override this method to perform additional operations.

- (void)didSelectVideoMessage:(Bit6Message *)message

Parameters

message

message of the attachment tapped.

Declared In

BXUMessageTableViewController.h