AccessoryManager.HoldPhoneCall(UInt32, Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將目前的通話置於保留狀態,或從保留中挑選通話。
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)
參數
- phoneCallId
-
UInt32
unsigned int
uint32_t
呼叫的識別碼。
- holdCall
-
Boolean
bool
如果將通話置於保留狀態,則為 True;如果從保留中挑選通話,則為 false。
Windows 需求
應用程式功能 |
accessoryManager
|
備註
呼叫此 API 需要在應用程式資訊清單中指定 ID_CAP_SMS 和 ID_CAP_SMS_COMPANION 功能。