Rate this page:

Voximplant

Voximplant is primary interface of Voximplant SDK

Methods

createAudioFile

Copy URL

IAudioFile

createAudioFile(

String

url,

AudioFileUsage

usage
)

Create a IAudioFile instance to play audio file from URL.

Parameters

  • url:

    String

    HTTP URL of the stream to play

  • Audio file usage mode

Returns

createAudioFile

Copy URL

IAudioFile

createAudioFile(

Context

context,

Uri

uri,

AudioFileUsage

usage
)

Create a IAudioFile instance to play audio file from Uri

Parameters

  • context:

    Context

    Application context

  • uri:

    Uri

    the Uri from which to get the audio file

  • Audio file usage mode

Returns

createAudioFile

Copy URL

IAudioFile

createAudioFile(

Context

context,

int

resId,

AudioFileUsage

usage
)

Create a IAudioFile instance to play audio file from the application resources.

Parameters

  • context:

    Context

    Application context

  • resId:

    int

    The raw resource id (R.raw.<something>) for the resource

  • Audio file usage mode

Returns

getAudioDeviceManager

Copy URL

IAudioDeviceManager

getAudioDeviceManager()

Get IAudioDeviceManager instance to control audio hardware settings

getCameraManager

Copy URL

ICameraManager

getCameraManager(

Context

context
)

Get ICameraManager instance to control camera hardware settings

Parameters

  • context:

    Context

    Android context

Returns

getClientInstance

Copy URL

IClient

getClientInstance(

Executor

executor,

Context

context,

ClientConfig

clientConfig
)

Get IClient instance to connect and login to Voximplant Cloud, make and receive calls

Parameters

  • executor:

    Executor

    Executor on which all Voximplant Android SDK events will be received

  • context:

    Context

    Android context

  • clientConfig:

    ClientConfig

    ClientConfig instance with configuration for IClient instance

Returns

getCustomVideoSource

Copy URL

ICustomVideoSource

getCustomVideoSource()

Get ICustomVideoSource instance to send video frames from custom source

Returns

getMessenger

Copy URL

IMessenger

getMessenger()

Get instance of messaging subsystem

Returns

getMessengerPushNotificationProcessing

Copy URL

IMessengerPushNotificationProcessing

getMessengerPushNotificationProcessing()

getMissingPermissions

Copy URL

List<String>

getMissingPermissions(

Context

context,

boolean

videoSupportEnabled
)

Get the list of required permissions that have not been granted by user yet

Parameters

  • context:

    Context

    Android context

  • videoSupportEnabled:

    boolean

    Specify if permissions for video calls are required.

Returns

  • type:

    List<String>

setLogListener

Copy URL

void

setLogListener(

ILogListener

logListener
)

Set log listener to handle Voximplant Android SDK log messages.

Parameters

Returns

  • type:

    void