Skip to main content

VideoSDK Class

The entry point into real-time communication SDK.

using VideoSDK Class#

The VideoSDK Class includes methods and events to initialize and configure the SDK. It is a factory class.

Parameters#

  • __namedParametersrequiredobject

      Properties
    • meetingIdrequiredstring

    • nameoptionalstring

    • micEnabledoptionalbool(default:true)

    • webcamEnabledoptionalbool(default:true)

Methods#

  • __methods

      Methods
    • initialize(Context context)void

    • config(String token)void

    • initMeeting(Context context, String meetingId, String name, boolean micEnabled, boolean webcamEnabled)Meeting

Example#

initMeeting
// Configure the tokenVideoSDK.config(token)
// Initialize the meetingMeeting meeting = VideoSDK.initMeeting({  context,  meetingId, // required  name, // required  micEnabled, // required  webcamEnabled, // required});