TokenConfig class

Creates an instance of TokenConfig which can be used to log in

Uses the sipToken field to log in sipCallerIDName and sipCallerIDNumber will be the Name and Number associated notificationToken is the token used to register the device for notifications if required (FCM or APNS) The autoReconnect flag decided whether or not to attempt a reconnect (3 attempts) in the case of a login failure with a legitimate token

Inheritance

Constructors

TokenConfig({required String sipToken, required String sipCallerIDName, required String sipCallerIDNumber, String? notificationToken, bool? autoReconnect, required bool debug, String? ringTonePath, String? ringbackPath})

Properties

autoReconnect bool?
finalinherited
debug bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
notificationToken String?
finalinherited
ringbackPath String?
finalinherited
ringTonePath String?
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sipCallerIDName String
finalinherited
sipCallerIDNumber String
finalinherited
sipToken String
final

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