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

Constructors

TokenConfig(String sipToken, String sipCallerIDName, String sipCallerIDNumber, String? notificationToken, bool? autoReconnect, [String? ringTonePath, String? ringbackPath])

Properties

autoReconnect bool?
final
hashCode int
The hash code for this object.
no setterinherited
notificationToken String?
final
ringbackPath String?
final
ringTonePath String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sipCallerIDName String
final
sipCallerIDNumber String
final
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