Updated on 2023-03-23 GMT+08:00

Incoming Call Notification

Notification Description

A notification is sent when a call is received.

Method Definition

1
virtual void OnCallIncoming(const HwmCallIncomingInfo *callIncomingInfo) {};

Precautions

None

Parameter Description

Table 1 HwmCallIncomingInfo parameters

Parameter

Type

Description

callType

HwmCallType

Call type.

number

char

Caller number.

name

char

Caller name.

callId

unsigned int

Call ID.

Table 2 Enumerated values of HwmCallType

Enumerated Value

Description

CALL_TYPE_AUDIO

Voice call.

CALL_TYPE_VIDEO

Video call.