Incoming Call Notification
Notification Description
A notification is sent when a call is received.
Method Definition
- (void)onCallIncoming:(HWMCallIncomingInfo *)callIncomingInfo
Sample Code
- (void)onCallIncoming:(HWMCallIncomingInfo *)callIncomingInfo { NSLog(@"%@", [callIncomingInfo yy_modelDescription]); }
Precautions
1. Subscribe to the HWMCallNotifyHandler proxy during SDK initialization or set the proxy on the target page.
Parameter Description
Parameter |
Type |
Description |
---|---|---|
callType |
HWMCallMediaType |
Call type. |
number |
NSString |
Calling number. |
name |
NSString |
Name of the calling party. |
callId |
NSUInteger |
Call ID. |
Enumerated Value |
Description |
---|---|
HWMCallMediaTypeAudio |
Voice call. |
HWMCallMediaTypeVideo |
Video call. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot