An invitation to join a channel. More...
Instance Methods | |
(void) | - addOnStateChanging: |
Adds a handler that is raised when the state changes. More... | |
(FMLiveSwitchInvitation *) | - addOnStateChangingWithBlock |
Adds a handler that is raised when the state changes. More... | |
(void) | - addOnStateChangingWithBlock: |
Adds a handler that is raised when the state changes. More... | |
(FMLiveSwitchFuture< id > *) | - cancel |
Attempts to cancel the invitation. More... | |
(NSString *) | - channelId |
Gets the channel id that this invitation is for. More... | |
(NSString *) | - inviteKey |
Gets the key for this invitation. More... | |
(NSString *) | - protocol |
Gets the protocol that this user was invited on. More... | |
(NSString *) | - reason |
Gets the reason for a state if available. More... | |
(void) | - removeOnStateChanging: |
Removes a handler that is raised when the state changes. More... | |
(FMLiveSwitchInvitationState) | - state |
Gets the current state of the invitation. More... | |
(NSString *) | - userId |
Gets the user id of the user being invited. More... | |
An invitation to join a channel.
- (void) addOnStateChanging: | (FMLiveSwitchAction1< FMLiveSwitchInvitation * > *) | value |
Adds a handler that is raised when the state changes.
- (FMLiveSwitchInvitation*) addOnStateChangingWithBlock |
Adds a handler that is raised when the state changes.
- (void) addOnStateChangingWithBlock: | (void(^)(FMLiveSwitchInvitation *)) | valueBlock |
Adds a handler that is raised when the state changes.
- (FMLiveSwitchFuture<id>*) cancel |
Attempts to cancel the invitation.
May fail if the invitation is acted upon before being canceled.
- (NSString*) inviteKey |
Gets the key for this invitation.
- (NSString*) protocol |
Gets the protocol that this user was invited on.
- (NSString*) reason |
Gets the reason for a state if available.
- (void) removeOnStateChanging: | (FMLiveSwitchAction1< FMLiveSwitchInvitation * > *) | value |
Removes a handler that is raised when the state changes.
- (FMLiveSwitchInvitationState) state |
Gets the current state of the invitation.
See InviteFeedbackState for possible values.