instance property

VideosdkPlatform get instance

The default instance of VideosdkPlatform to use.

Defaults to MethodChannelVideosdk.

Implementation

static VideosdkPlatform get instance => _instance;
set instance (VideosdkPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends VideosdkPlatform when they register themselves.

Implementation

static set instance(VideosdkPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}