共用方式為


AccessoryManager.HoldPhoneCall(UInt32, Boolean) 方法

定義

將目前的通話置於保留狀態,或從保留中挑選通話。

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_SMSID_CAP_SMS_COMPANION 功能。

適用於