PortSIP VoIP SDK Manual for iOS  16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
Functions
Audio Controller

Functions

(BOOL) - PortSIPSDK::startAudio
 Start Audio Device. Call it as AVAudioSessionInterruptionTypeEnded. More...
 
(BOOL) - PortSIPSDK::stopAudio
 Stop Audio Device. Call it as AVAudioSessionInterruptionTypeBegan. More...
 
(int) - PortSIPSDK::enableCallKit:
 Enable/disable CallKit(Native Integration). More...
 

Detailed Description

Function Documentation

◆ startAudio()

- (BOOL) startAudio

Start Audio Device. Call it as AVAudioSessionInterruptionTypeEnded.

Returns
If the function succeeds, it will return value true. If the function fails, it will return value false.

◆ stopAudio()

- (BOOL) stopAudio

Stop Audio Device. Call it as AVAudioSessionInterruptionTypeBegan.

Returns
If the function succeeds, it will return value true. If the function fails, it will return value false.

◆ enableCallKit:()

- (int) enableCallKit: (BOOL)  state

Enable/disable CallKit(Native Integration).

Parameters
stateSet to true to enable CallKit, or false to disable..
Returns
If the function succeeds, it will return value 0. If the function fails, it will return a specific error code.