MXToolkit Class Reference

Inherits from NSObject
Declared in MXToolkit.h

Overview

The MXToolkit class provides some useful features.

  meetRingEnabled

Enable auto pop meet ring UI when get called. Default is NO.

@property (nonatomic, assign) BOOL meetRingEnabled

Discussion

Only working when app is in foreground.

Declared In

MXToolkit.h

– saveFileToChat:filePath:name:completionHandler:

Import a file to a chat.

- (void)saveFileToChat:(MXChat *)chat filePath:(NSString *)filePath name:(NSString *)fileName completionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable errorOrNil ))completionHandler

Parameters

chat

target chat

filePath

The file local path

fileName

The file name to save as

completionHandler

A block to be executed when the action completes.

Declared In

MXToolkit.h