TokenHandler class

OverMedia Token Handler - Client-side protocol methods

Constructors

TokenHandler()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

addParticipant(P2PStream stream, {required String meetingId, required String presetName, required String participantName, required String targetPeerId}) → Future<OverMediaResponse>
Add a participant to a meeting
createMeeting(P2PStream stream, {required String title, String? description, List<String>? tags, String? hostName, int? expectedSpeakers, bool? isPublic, bool? recordOnStart, bool? liveStreamOnStart, bool? allowRequests, bool? spotlightEnabled, int? spotlightFeeSats, int? spotlightDurationSecs}) → Future<OverMediaResponse>
Create a new meeting
editParticipant(P2PStream stream, {required String meetingId, required String presetName, required String participantName, String? picture, required String targetPeerId}) → Future<OverMediaResponse>
Edit a participant in a meeting
endMeeting(P2PStream stream, {required String meetingId}) → Future<OverMediaResponse>
End a meeting
getMeeting(P2PStream stream, {required String meetingId}) → Future<OverMediaResponse>
Get meeting details
sendRequest(P2PStream stream, Map<String, dynamic> request) → Future<OverMediaResponse>
Send a raw request map (for forward compatibility)

Constants

protocolId → const String