Class SPXMeeting
@class SPXMeeting : NSObject;
Performs meeting management including add and remove participants.
Initializes a new instance of meeting using the specified speech configuration.
- (instancetype _Nullable)init:(SPXSpeechConfiguration * _Nonnull)speechConfiguration
speechConfiguration
- speech configuration.
a meeting instance.
Initializes a new instance of meeting using the specified speech configuration and meeting id.
- (instancetype _Nullable)init:(SPXSpeechConfiguration * _Nonnull)speechConfiguration
meetingId:(NSString * _Nonnull)meetingId
speechConfiguration
- speech configuration.meetingId
- a unqiue identification of your meeting.
a meeting instance.
Initializes a new instance of meeting using the specified speech configuration and meeting id.
- (instancetype _Nullable)init:(SPXSpeechConfiguration * _Nonnull)speechConfiguration
meetingId:(NSString * _Nonnull)meetingId error:(NSError * _Nullable * _Nullable)outError
speechConfiguration
- speech configuration.meetingId
- a unqiue identification of your meeting.outError
- error information.
a meeting instance.
Starts a meeting, and provides asynchronous callback with the information is meeting started successfully or not.
- (void)startMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Starts a meeting, and provides asynchronous callback with the information is meeting started successfully or not.
- (BOOL)startMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Ends a meeting, and provides asynchronous callback with the information is meeting ended successfully or not.
- (void)endMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Ends a meeting, and provides asynchronous callback with the information is meeting ended successfully or not.
- (BOOL)endMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Deletes a meeting, and provides asynchronous callback with the information is meeting deletion completed. After deleted, no one will be able to join the meeting.
- (void)deleteMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Deletes a meeting, and provides asynchronous callback with the information is meeting deletion completed. After deleted, no one will be able to join the meeting.
- (BOOL)deleteMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Locks a meeting, and provides asynchronous callback with the information is meeting locking completed. After locked, new participants are prevented from joining the meeting.
- (void)lockMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Locks a meeting, and provides asynchronous callback with the information is meeting locking completed. After locked, new participants are prevented from joining the meeting.
- (BOOL)lockMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Unlocks a meeting, and provides asynchronous callback with the information is meeting unlocking completed.
- (void)unlockMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Unlocks a meeting, and provides asynchronous callback with the information is meeting unlocking completed.
- (BOOL)unlockMeetingAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Mute all other participants in the meeting. After this no other participants will have their speech recognitions broadcast, nor be able to send text messages.
- (void)muteAllParticipantsAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Mute all other participants in the meeting. After this no other participants will have their speech recognitions broadcast, nor be able to send text messages.
- (BOOL)muteAllParticipantsAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Unmute all other participants in the meeting.
- (void)unmuteAllParticipantsAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
completedHandler
- the block function to be called when async operation has been completed.
Unmute all other participants in the meeting.
- (BOOL)unmuteAllParticipantsAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.outError
- error information.
Mute participant with a given userId in the meeting.
- (void)muteParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.
Mute participant with a given userId in the meeting.
- (BOOL)muteParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.outError
- error information.
Unmute participant with a given userId in the meeting.
- (void)unmuteParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.
Unmute participant with a given userId in the meeting.
- (BOOL)unmuteParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.outError
- error information.
Adds a participant from a meeting using a user id.
- (void)addParticipantAsync:(void (^ _Nonnull)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.
Adds a participant from a meeting using a user id.
- (BOOL)addParticipantAsync:(void (^ _Nonnull)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.outError
- error information.
Adds a participant from a meeting using a Participant object.
- (void)addParticipantAsync:(void (^ _Nonnull)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler
participant:(SPXParticipant * _Nonnull)participant
completedHandler
- the block function to be called when async operation has been completed.participant
- A Participant instance.
Adds a participant from a meeting using a Participant object.
- (BOOL)addParticipantAsync:(void (^ _Nonnull)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler
participant:(SPXParticipant * _Nonnull)participant
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.participant
- A Participant instance.outError
- error information.
Adds a participant from a meeting using a User object.
- (void)addParticipantAsync:(void (^ _Nonnull)(SPXUser * _Nullable, NSError * _Nullable))completedHandler
user:(SPXUser * _Nonnull)user
completedHandler
- the block function to be called when async operation has been completed.user
- A User instance.
Adds a participant from a meeting using a User object.
- (BOOL)addParticipantAsync:(void (^ _Nonnull)(SPXUser * _Nullable, NSError * _Nullable))completedHandler
user:(SPXUser * _Nonnull)user error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.user
- A User instance.outError
- error information.
Remove a participant from a meeting using a user id.
- (void)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.
Remove a participant from a meeting using a user id.
- (BOOL)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
userId:(NSString * _Nonnull)userId error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.userId
- A user identifier.outError
- error information.
Remove a participant from a meeting using a Participant object.
- (void)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
participant:(SPXParticipant * _Nonnull)participant
completedHandler
- the block function to be called when async operation has been completed.participant
- A Participant instance.
Remove a participant from a meeting using a Participant object.
- (BOOL)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
participant:(SPXParticipant * _Nonnull)participant
error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.participant
- A Participant instance.outError
- error information.
Remove a participant from a meeting using a User object.
- (void)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
user:(SPXUser * _Nonnull)user
completedHandler
- the block function to be called when async operation has been completed.user
- A User instance.
Remove a participant from a meeting using a User object.
- (BOOL)removeParticipantAsync:(void (^ _Nonnull)(BOOL, NSError * _Nullable))completedHandler
user:(SPXUser * _Nonnull)user error:(NSError * _Nullable * _Nullable)outError
completedHandler
- the block function to be called when async operation has been completed.user
- A User instance.outError
- error information.
@property (readonly, atomic) id<SPXPropertyCollection> _Nullable properties;
The collection of properties and their values defined for this SPXMeeting.
@property (readwrite, copy, nonatomic) NSString * _Nullable meetingId;
The unique identifier for the meeting.
@property (readwrite, copy, nonatomic) NSString * _Nullable authorizationToken;
The authorization token used to communicate with the service. Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires, the caller needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will encounter errors during recognition.