AccessoryManager.HoldPhoneCall(UInt32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Places the current phone call on hold, or picks up the phone call from hold.
public:
static void HoldPhoneCall(unsigned int phoneCallId, bool holdCall);
static void HoldPhoneCall(uint32_t const& phoneCallId, bool const& holdCall);
public static void HoldPhoneCall(uint phoneCallId, bool holdCall);
function holdPhoneCall(phoneCallId, holdCall)
Public Shared Sub HoldPhoneCall (phoneCallId As UInteger, holdCall As Boolean)
Parameters
- phoneCallId
-
UInt32
unsigned int
uint32_t
The identifier of the call.
- holdCall
-
Boolean
bool
True if placing the call on hold, false if picking up the call from hold.
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.