Instance

class Instance

Instance of Acrobits libSoftphone.

This is the main entry point for controlling the SDK.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
class Audio
Methods for manipulating audio.
Link copied to clipboard
class Calls
Methods for manipulating calls.
Link copied to clipboard
class Contacts
Methods for contacts.
Link copied to clipboard
class DNS
Methods for querying the Domain Name System
Link copied to clipboard
class Events
Methods manipulating event streams.
Link copied to clipboard
Methods for accessing the group messaging capabilities of the SDK.
Link copied to clipboard
class Log
Methods manipulating the traffic log.
Link copied to clipboard
class Network
Network methods.
Link copied to clipboard
Notification methods.
Link copied to clipboard
class Playback
Methods for audio playback.
Link copied to clipboard
class Recording
Methods for audio recording.
Link copied to clipboard
Methods for manipulating registration of the accounts.
Link copied to clipboard
class Security
Methods for call and message security.
Link copied to clipboard
class Settings
Methods manipulating settings and add-ons database.
Link copied to clipboard
enum State
State methods.
Link copied to clipboard
class Storage
Storage methods.
Link copied to clipboard
class System
System methods.
Link copied to clipboard
class Telecom
Interactions with Android Telecom subsystem
Link copied to clipboard
Methods for Voice unit monitor

Properties

Link copied to clipboard
Preferences.
Link copied to clipboard
Preferences as LiveData.

Functions

Link copied to clipboard
Get observer.
Link copied to clipboard
open fun init(@NonNull context: Context, @Nullable provisioning: Xml, @Nullable preferences: Preferences.Factory): Boolean
open fun init(@NonNull context: Context, @Nullable provisioning: Xml, @Nullable preferences: Class<out Preferences>): Boolean
Initialize the instance.
Link copied to clipboard
Check if instance is currently initialized.
Link copied to clipboard
Link copied to clipboard
open fun isValidJwtLicense(context: Context, @NonNull licenseKeyJWT: String): Boolean
Checks whether the given JWT license key is valid.
Link copied to clipboard
open fun loadLibrary(@NonNull context: Context)
Load the Android library.
Link copied to clipboard
Load the Android library with an existing Libsoftphone instance.
Link copied to clipboard
open fun setObserver(@Nullable observer: Observer)
Set observer.