A class containing the feedback from invite requests. More...
Instance Methods | |
(instancetype) | - initWithUserId:protocol:state:reason: |
Creates an instance of a InviteFeedback class. More... | |
(NSString *) | - protocol |
Gets the protocol the user was invited on. More... | |
(NSString *) | - reason |
Gets the detailed reason for the state if available. More... | |
(FMLiveSwitchInvitationState) | - state |
Gets the current state of the invite. More... | |
(NSString *) | - toJson |
Serializes this instance to JSON. More... | |
(NSString *) | - userId |
Gets the user id for the user being invited. More... | |
Class Methods | |
(FMLiveSwitchInviteFeedback *) | + fromJsonWithFeedbackJson: |
Deserializes an instance from JSON. More... | |
(FMLiveSwitchInviteFeedback *) | + inviteFeedbackWithUserId:protocol:state:reason: |
Creates an instance of a InviteFeedback class. More... | |
(NSString *) | + toJsonWithFeedback: |
Serializes an instance to JSON. More... | |
A class containing the feedback from invite requests.
+ (FMLiveSwitchInviteFeedback*) fromJsonWithFeedbackJson: | (NSString *) | feedbackJson |
Deserializes an instance from JSON.
feedbackJson | The JSON to deserialize. |
- (instancetype) initWithUserId: | (NSString *) | userId | |
protocol: | (NSString *) | protocol | |
state: | (FMLiveSwitchInvitationState) | state | |
reason: | (NSString *) | reason | |
Creates an instance of a InviteFeedback class.
userId | The user id of the user being invited. |
protocol | The protocol the original invite was using. |
state | The current state of the invite. |
reason | The detailed reason if available. |
+ (FMLiveSwitchInviteFeedback*) inviteFeedbackWithUserId: | (NSString *) | userId | |
protocol: | (NSString *) | protocol | |
state: | (FMLiveSwitchInvitationState) | state | |
reason: | (NSString *) | reason | |
Creates an instance of a InviteFeedback class.
userId | The user id of the user being invited. |
protocol | The protocol the original invite was using. |
state | The current state of the invite. |
reason | The detailed reason if available. |
- (NSString*) protocol |
Gets the protocol the user was invited on.
- (NSString*) reason |
Gets the detailed reason for the state if available.
- (FMLiveSwitchInvitationState) state |
Gets the current state of the invite.
- (NSString*) toJson |
Serializes this instance to JSON.
+ (NSString*) toJsonWithFeedback: | (FMLiveSwitchInviteFeedback *) | feedback |
Serializes an instance to JSON.
feedback | The invite feedback to serialize. |