TextResponse Class

Definition

Gets an object that contains a unique identifier and a string text response that is preset on the phone. These messages can be optionally sent when the user rejects a phone call on the accessory. These objects are sent as part of the PhoneNotificationTriggerDetails and are always up-to-date as of the phone call.

public ref class TextResponse sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class TextResponse final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class TextResponse
Public NotInheritable Class TextResponse
Inheritance
Object Platform::Object IInspectable TextResponse
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
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.

Properties

Content

Gets a string representing a preset text response on the phone.

Id

Gets the identifier that uniquely identifies the text response.

Applies to