다음을 통해 공유


AccessoryManager.RejectPhoneCall 메서드

정의

오버로드

RejectPhoneCall(UInt32)

지정된 식별자를 사용하여 전화 통화를 거부합니다.

RejectPhoneCall(UInt32, UInt32)

지정된 식별자와의 전화 통화를 거부하고 SMS 응답을 보냅니다.

RejectPhoneCall(UInt32)

지정된 식별자를 사용하여 전화 통화를 거부합니다.

public:
 static void RejectPhoneCall(unsigned int phoneCallId);
/// [Windows.Foundation.Metadata.Overload("RejectPhoneCall")]
 static void RejectPhoneCall(uint32_t const& phoneCallId);
[Windows.Foundation.Metadata.Overload("RejectPhoneCall")]
public static void RejectPhoneCall(uint phoneCallId);
function rejectPhoneCall(phoneCallId)
Public Shared Sub RejectPhoneCall (phoneCallId As UInteger)

매개 변수

phoneCallId
UInt32

unsigned int

uint32_t

전화 통화 식별자입니다.

특성

Windows 요구 사항

앱 기능
accessoryManager

설명

이 API를 호출하려면 애플리케이션 매니페스트에 ID_CAP_SMSID_CAP_SMS_COMPANION 기능을 지정해야 합니다.

추가 정보

적용 대상

RejectPhoneCall(UInt32, UInt32)

지정된 식별자와의 전화 통화를 거부하고 SMS 응답을 보냅니다.

public:
 static void RejectPhoneCall(unsigned int phoneCallId, unsigned int textResponseID);
/// [Windows.Foundation.Metadata.Overload("RejectPhoneCallWithText")]
 static void RejectPhoneCall(uint32_t const& phoneCallId, uint32_t const& textResponseID);
[Windows.Foundation.Metadata.Overload("RejectPhoneCallWithText")]
public static void RejectPhoneCall(uint phoneCallId, uint textResponseID);
function rejectPhoneCall(phoneCallId, textResponseID)
Public Shared Sub RejectPhoneCall (phoneCallId As UInteger, textResponseID As UInteger)

매개 변수

phoneCallId
UInt32

unsigned int

uint32_t

전화 통화 식별자입니다.

textResponseID
UInt32

unsigned int

uint32_t

TextResponse의 식별자입니다.

특성

Windows 요구 사항

앱 기능
accessoryManager

설명

이 API를 호출하려면 애플리케이션 매니페스트에 ID_CAP_SMSID_CAP_SMS_COMPANION 기능을 지정해야 합니다.

추가 정보

적용 대상