共用方式為


SmsReceiver Class

Definition

An SMS receiver.

public class SmsReceiver
type SmsReceiver = class
Public Class SmsReceiver
Inheritance
SmsReceiver

Constructors

SmsReceiver()

Initializes a new instance of the SmsReceiver class.

SmsReceiver(String, String, String, Nullable<ReceiverStatus>)

Initializes a new instance of the SmsReceiver class.

Properties

CountryCode

Gets or sets the country code of the SMS receiver.

Name

Gets or sets the name of the SMS receiver. Names must be unique across all receivers within an action group.

PhoneNumber

Gets or sets the phone number of the SMS receiver.

Status

Gets the status of the receiver. Possible values include: 'NotSpecified', 'Enabled', 'Disabled'

Methods

Validate()

Validate the object.

Applies to