PitelUAHelper class
- Inheritance
-
- Object
- EventManager
- PitelUAHelper
Constructors
Properties
- connected → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
listeners
↔ Map<
Type, List> -
getter/setter pairinherited
- loggingLevel ← Level
-
no getter
- registered → bool
-
no setter
- registerState → RegistrationState
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAllEventHandlers(
EventManager other) → void -
add all event handlers from an other instance of EventManager to this one.
inherited
-
addSipUaHelperListener(
SipUaHelperListener listener) → void -
buildCallOptions(
[bool voiceonly = false]) → Map< String, dynamic> - Build the call options. You may override this method in a custom SIPUAHelper class in order to modify the options to your needs.
-
call(
String target, {bool voiceonly = false, MediaStream? mediaStream, List< String> ? headers}) → Future<bool> -
emit<
T extends EventType> (T event) → void -
send the supplied event to all of the listeners that are subscribed to that EventType
inherited
-
findCall(
String id) → Call? -
hasListeners(
EventType event) → bool -
returns true if there are any listeners associated with the EventType for this instance of EventManager
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on<
T extends EventType> (T eventType, void listener(T event)) → void -
call "on" to subscribe to events of a particular type
inherited
-
register(
) → void -
remove<
T extends EventType> (T eventType, void listener(T event)?) → void -
inherited
-
removeSipUaHelperListener(
SipUaHelperListener listener) → void -
sendMessage(
String target, String body, [Map< String, dynamic> ? options]) → Message -
start(
PitelSettings uaSettings) → void -
stop(
) → void -
terminateSessions(
Map< String, dynamic> options) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unregister(
[bool all = true]) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited