The FlipFlopCloud class provides a static interface for interacting with the FlipFlopCloud API. It includes methods for initializing the SDK, managing video rooms, and retrieving user information.

Constructors

Methods

  • Deletes a specific video room by its ID.

    Parameters

    • videoRoomId: number

      The ID of the video room to delete.

    Returns Promise<void>

    A promise that resolves when the video room is successfully deleted.

    SdkNotInitializedError if the SDK has not been initialized.

  • Retrieves the current user's information.

    Returns Promise<FFCMemberDto>

    A promise that resolves to the current user's details as an FFCMemberDto.

    SdkNotInitializedError if the SDK has not been initialized.

  • Retrieves the details of a specific video room by its ID.

    Parameters

    • videoRoomId: number

      The ID of the video room to retrieve.

    Returns Promise<FFCVideoRoomDto>

    A promise that resolves to the video room details as an FFCVideoRoomDto.

    SdkNotInitializedError if the SDK has not been initialized.

  • Initializes the FlipFlopCloud SDK with the provided API base URL and access tokens.

    Parameters

    • baseUrl: string

      The base URL of the FlipFlopCloud API.

    • accessToken: string

      The access token for authenticating API requests.

    • OptionalrefreshToken: string

      (Optional) The refresh token for renewing the access token.

    Returns void