Share via


AccessoryManager.SwapPhoneCalls(UInt32, UInt32) Method

Definition

Puts the current phone call on hold and then connects the on hold phone call.

public:
 static void SwapPhoneCalls(unsigned int phoneCallIdToHold, unsigned int phoneCallIdOnHold);
 static void SwapPhoneCalls(uint32_t const& phoneCallIdToHold, uint32_t const& phoneCallIdOnHold);
public static void SwapPhoneCalls(uint phoneCallIdToHold, uint phoneCallIdOnHold);
function swapPhoneCalls(phoneCallIdToHold, phoneCallIdOnHold)
Public Shared Sub SwapPhoneCalls (phoneCallIdToHold As UInteger, phoneCallIdOnHold As UInteger)

Parameters

phoneCallIdToHold
UInt32

unsigned int

uint32_t

Idenifier for the phone call to place on hold.

phoneCallIdOnHold
UInt32

unsigned int

uint32_t

Identifier for the phone call to connect.

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