Protected
_nativeProtected
Abstract
createProtected
preProtected
addProtected
addIOSPropsTriggers when device call state changes.
4.3.1 onCallStateChanged
import CallDetection from '@smartface/native/device/calldetection';
const callDetection1 = new CallDetection();
callDetection1.on(CallDetection.Events.CallStateChanged, (params) => {
console.info('onCallStateChanged', params);
});
Generated using TypeDoc
Since
4.3.1
Helps to detect call states. Required Permissions.android#phone permission for Android.
Example