Search Results for

    Show / Hide Table of Contents

    Class InviteFeedback

    A class containing the feedback from invite requests.

    Inheritance
    System.Object
    InviteFeedback
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class InviteFeedback : object

    Constructors

    InviteFeedback(String, String, InvitationState, String)

    Creates an instance of a InviteFeedback class.

    Declaration
    public InviteFeedback(string userId, string protocol, InvitationState state, string reason)
    Parameters
    Type Name Description
    System.String userId

    The user id of the user being invited.

    System.String protocol

    The protocol the original invite was using.

    InvitationState state

    The current state of the invite.

    System.String reason

    The detailed reason if available.

    Properties

    Protocol

    Gets the protocol the user was invited on.

    Declaration
    public string Protocol { get; }
    Property Value
    Type Description
    System.String

    Reason

    Gets the detailed reason for the state if available.

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    System.String

    State

    Gets the current state of the invite.

    Declaration
    public InvitationState State { get; }
    Property Value
    Type Description
    InvitationState

    UserId

    Gets the user id for the user being invited.

    Declaration
    public string UserId { get; }
    Property Value
    Type Description
    System.String

    Methods

    FromJson(String)

    Deserializes an instance from JSON.

    Declaration
    public static InviteFeedback FromJson(string feedbackJson)
    Parameters
    Type Name Description
    System.String feedbackJson

    The JSON to deserialize.

    Returns
    Type Description
    InviteFeedback

    The deserialized invite feedback.

    ToJson()

    Serializes this instance to JSON.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(InviteFeedback)

    Serializes an instance to JSON.

    Declaration
    public static string ToJson(InviteFeedback feedback)
    Parameters
    Type Name Description
    InviteFeedback feedback

    The invite feedback to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0