@dialstack/sdk-dev / native/src / OsCallEvents
Interface: OsCallEvents
Defined in: sdk/native/src/os/OsCallAdapter.ts:46
Properties
answer
answer: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:57
Parameters
e
sessionId
string
Returns
void
audioSessionActivated
audioSessionActivated: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:63
iOS only in practice: CallKit gates audio, so WebRTC audio starts here.
Parameters
e
sessionId
string | null
Returns
void
callIntent
callIntent: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:56
The OS wants to PLACE a call — the user dialled from the platform's own UI (Recents, Siri, dialer intent), not from the app.
Parameters
e
handle
string
Returns
void
dtmf
dtmf: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:61
Parameters
e
digits
string
sessionId
string
Returns
void
end
end: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:58
Parameters
e
sessionId
string
Returns
void
incomingReported
incomingReported: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:53
A call was reported to the OS — by native code before JS existed, or by
reportIncoming. callId is the call_id the session was created with (a
wake push's, or the one passed to reportIncoming): the bridge pairs the
session with its call by it, and ends a session that has none.
Parameters
e
Returns
void
setHeld
setHeld: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:59
Parameters
e
held
boolean
sessionId
string
Returns
void
setMuted
setMuted: (e) => void;
Defined in: sdk/native/src/os/OsCallAdapter.ts:60
Parameters
e
muted
boolean
sessionId
string
Returns
void