InitData class

Holds lists of parameters using for initialization siprix module

Constructors

InitData()

Properties

brandName ↔ String?
Replaces default product name string in logs and version
getter/setter pair
dnsServers ↔ String?
App can specify own DNS server as csv string Example: server1,server2,server3
getter/setter pair
enableAes128Sha32 ↔ bool?
Enable using aes128_sha1_32 SRTP crypto cipher
getter/setter pair
enableCallKit ↔ bool?
iOS only. Enable CallKit support
getter/setter pair
enableCallKitMute ↔ bool?
iOS only. Enable ability to mute call by CallKit. By default enabled.
getter/setter pair
enableCallKitRecents ↔ bool?
iOS only. Enable include a call in the system's Recents list after the call ends. By default disabled.
getter/setter pair
enableCallKitReportCallAsVideo ↔ bool?
iOS only. Enable ability to report each incoming call as video one, which brings applications to front after accept call in CallKit. By default disabled.
getter/setter pair
enablePushKit ↔ bool?
iOS only. Enable PushKit support
getter/setter pair
enableVideoCall ↔ bool?
Enable using video call feature (by default true). Recommended to set false when video call is not required
getter/setter pair
enableVUmeter ↔ bool?
Enable VU volume meter (triggers event 'VuMeterLevel') when call exist
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
homeFolder ↔ String?
Folder where to store log files
getter/setter pair
license ↔ String?
License credentials. When missed - library works in trial mode
getter/setter pair
listenTelState ↔ bool?
Android only. Enables TelStateListener which holds SIP calls when GSM call started (Valid only for Android, disabled by default, requires permission 'READ_PHONE_STATE')
getter/setter pair
listenVolChange ↔ bool?
Android only. Enables listening VOLUME_CHANGED_ACTION and mute ringtone sound when detected (Valid only for Android, disabled by default)
getter/setter pair
logLevelFile ↔ LogLevel?
Log level for file output (default level .info)
getter/setter pair
logLevelIde ↔ LogLevel?
Log level for IDE output (default level .info)
getter/setter pair
recordStereo ↔ bool?
Set recording call sound in stereo mode (keep sent/received sound in separate channels) (by default false).
getter/setter pair
rtpStartPort ↔ int?
RTP start port number (not implemented yet, library uses random port numbers)
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceClassName ↔ String?
Android only. Class name of the service which allows to customize notifications and implemented as part of the android app. Example: com.siprix.siprix_voip_sdk_example.MyNotifService
getter/setter pair
shareUdpTransport ↔ bool?
Use same UDP transport for all accounts (by default enabled)
getter/setter pair
singleCallMode ↔ bool?
Enable single call mode when library can make/accept only one call
getter/setter pair
tlsVerifyServer ↔ bool?
Enable verify server's certificate (common option for all accounts, by default disabled)
getter/setter pair
transpForceIPv4 ↔ bool?
Expiremental option which forces using IPv4 interface even when NetMonitor doesn't detect it
getter/setter pair
triggerOnIncomingCallByNotifOnly ↔ bool?
Android only. Trigger 'onIncomingCall' event only when user taps notification (when enabled requires also adding own service impl and override shouldShowNotificationWhenInForeground)
getter/setter pair
unregOnDestroy ↔ bool?
Unregister accounts on destroy library instance (by default true). Set to false when PushNotif is using
getter/setter pair
updRegOnResume ↔ bool?
Enable update registration when app resumed. Valid for Windows (when machine resumed after sleep, by default true) and Android (when got LifecycleObserver::onStart, by default false)
getter/setter pair
use16kHzAudio ↔ bool?
Android only. Use 16kHz samplerate for audio (fixes increasing latency on Bluetoth devices)
getter/setter pair
useDnsSrv ↔ bool?
Set using DNS SRV for resolve IP address of SIP server/proxy (by default true).
getter/setter pair
useExternalRinger ↔ bool?
Enable using external ringer device for desktop (by default false, lib plays ringtone internally)
getter/setter pair
useProximity ↔ bool?
Android only. Enables using PROXIMITY_SCREEN_OFF_WAKE_LOCK and turns the screen off when the phone's proximity sensor detects a nearby object (Valid only for Android, enabled by default)
getter/setter pair

Methods

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

Operators

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