Share via


AccessoryManager.EndPhoneCall(UInt32) Method

Definition

Ends a phone call for the given phone call identifier.

public:
 static void EndPhoneCall(unsigned int phoneCallId);
 static void EndPhoneCall(uint32_t const& phoneCallId);
public static void EndPhoneCall(uint phoneCallId);
function endPhoneCall(phoneCallId)
Public Shared Sub EndPhoneCall (phoneCallId As UInteger)

Parameters

phoneCallId
UInt32

unsigned int

uint32_t

The identifier of the phone call. Get this value from PhoneNotificationTriggerDetail.CallDetails.CallID property for an active incoming phone call.

Windows requirements

App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Applies to