Compartir a través de


AccessoryManager.RejectPhoneCall Método

Definición

Sobrecargas

RejectPhoneCall(UInt32)

Rechaza una llamada telefónica con el identificador especificado.

RejectPhoneCall(UInt32, UInt32)

Rechaza una llamada telefónica con el identificador especificado y envía una respuesta SMS.

RejectPhoneCall(UInt32)

Rechaza una llamada telefónica con el identificador especificado.

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)

Parámetros

phoneCallId
UInt32

unsigned int

uint32_t

Identificador de llamada telefónica.

Atributos

Requisitos de Windows

Características de aplicaciones
accessoryManager

Comentarios

Llamar a esta API requiere que las funcionalidades ID_CAP_SMS y ID_CAP_SMS_COMPANION se especifiquen en el manifiesto de aplicación.

Consulte también

Se aplica a

RejectPhoneCall(UInt32, UInt32)

Rechaza una llamada telefónica con el identificador especificado y envía una respuesta 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)

Parámetros

phoneCallId
UInt32

unsigned int

uint32_t

Identificador de llamada telefónica.

textResponseID
UInt32

unsigned int

uint32_t

Identificador de TextResponse.

Atributos

Requisitos de Windows

Características de aplicaciones
accessoryManager

Comentarios

Llamar a esta API requiere que las funcionalidades ID_CAP_SMS y ID_CAP_SMS_COMPANION se especifiquen en el manifiesto de aplicación.

Consulte también

Se aplica a