OTFlutter class

Properties

channel MethodChannel
hashCode int
The hash code for this object.
read-onlyinherited
platformVersion Future<String>
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

create(OpenTokConfiguration configuration) Future<void>
Creates an OpenTok instance.
destroy() Future<void>
Destroys the instance and releases all resources used by the OpenTok SDK.
disableAudio() Future<void>
Disables the audio module.
disablePublisherVideo() Future<void>
Disables the publishers video module.
disableVideo() Future<void>
Disables the video module.
enableAudio() Future<void>
Enables the audio module.
enablePublisherVideo() Future<void>
Enables the subscriber video module.
enableVideo() Future<void>
Enables the video module.
getSdkVersion() Future<String>
Gets the SDK version.
mutePublisherAudio() Future<void>
Mute the publisher audio module.
muteSubscriberAudio() Future<void>
Disables the subscribers audio.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
removeNativeView(int viewId) Future<void>
Remove the video renderer Widget.
switchAudioToPhone() Future<void>
Switch the audio output to use phone
switchAudioToSpeaker() Future<void>
Switch the audio output to use speakers
switchCamera() Future<void>
Switches between front and rear cameras.
toString() String
A string representation of this object.
inherited
unmutePublisherAudio() Future<void>
Unmute the publisher audio module.
unmuteSubscriberAudio() Future<void>
Enables the subscribers audio.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

loggingEnabled bool
read / write
onCreatePublisherStream VoidCallback
Occurs when publisher stream has been created.
read / write
onCreateStream VoidCallback
Occurs when subscriber stream has been created.
read / write
onDroppedStream VoidCallback
Occurs when subscriber stream has been dropped.
read / write
onReceiveVideo VoidCallback
Occurs when the subscriber video is added to renderer.
read / write
onSessionConnect VoidCallback
Occurs when the client connects to the OpenTok session.
read / write
onSessionDisconnect VoidCallback
Occurs when the client disconnects from the OpenTok session.
read / write
onWillConnect VoidCallback
Triggered before creating OpenTok session.
read / write

Static Methods

createNativeView(int uid, {OTPublisherKitSettings publisherSettings, int width, int height, dynamic created(int viewId)}) Widget
Creates the video renderer Widget.
init(int id) Future<OTFlutter>