PlatformMethod enum Null safety

platformmethods to use to interact with specific platform

Constants

acceptRoleChange → const PlatformMethod

accept role changes suggestedBy any peer.

const PlatformMethod(21)
changeRole → const PlatformMethod

change your peer role.

const PlatformMethod(22)
getRoles → const PlatformMethod

get list of roles using this.

const PlatformMethod(23)
isAudioMute → const PlatformMethod

check whether audio is mute or not.

const PlatformMethod(16)
isVideoMute → const PlatformMethod

check whether video is mute or not.

const PlatformMethod(17)
joinMeeting → const PlatformMethod

join meeting using this.

const PlatformMethod(0)
leaveMeeting → const PlatformMethod

leave meeting

const PlatformMethod(1)
onError → const PlatformMethod

when onError update is called

const PlatformMethod(7)
onJoinRoom → const PlatformMethod

when onJoin callback is called

const PlatformMethod(3)
onLeaveMeeting → const PlatformMethod
const PlatformMethod(2)
onMessage → const PlatformMethod
const PlatformMethod(8)
onPeerUpdate → const PlatformMethod

when there is any change in peer in a room.

const PlatformMethod(5)
onReconnected → const PlatformMethod

when reconnected update method is called.

const PlatformMethod(12)
onReconnecting → const PlatformMethod

when reconnecting update method is called.

const PlatformMethod(11)
onTrackUpdate → const PlatformMethod

when there is track updates

const PlatformMethod(6)
onUpdateRoom → const PlatformMethod

when room is updated.

const PlatformMethod(4)
onUpdateSpeaker → const PlatformMethod
const PlatformMethod(10)
previewVideo → const PlatformMethod

get tracks for previewVideo.

const PlatformMethod(20)
sendMessage → const PlatformMethod

when you want to send a message.

const PlatformMethod(9)
startCapturing → const PlatformMethod

start capturing your video from your camera.

const PlatformMethod(18)
stopCapturing → const PlatformMethod

stop capturing your video from your camera.

const PlatformMethod(19)
switchAudio → const PlatformMethod

switch mic on/off.

const PlatformMethod(13)
switchCamera → const PlatformMethod

switch your camera.

const PlatformMethod(15)
switchVideo → const PlatformMethod
const PlatformMethod(14)
unknown → const PlatformMethod
const PlatformMethod(24)
values → const List<PlatformMethod>

A constant List of the values in this enum, in order of their declaration.

const List<PlatformMethod>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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