共用方式為


Telephony.Sms.InterfaceConsts Class

Definition

public static class Telephony.Sms.InterfaceConsts
type Telephony.Sms.InterfaceConsts = class
Inheritance
Telephony.Sms.InterfaceConsts

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Fields

Address

The address of the other party.

Body

The body of the message.

Count

The count of rows in a directory.

Creator

The identity of the sender of a sent message.

Date

The date the message was received.

DateSent

The date the message was sent.

ErrorCode

Error code associated with sending or receiving this message

Id

The unique ID for a row.

Locked

Is the message locked?

MessageTypeAll
Obsolete.

Message type: all messages.

MessageTypeDraft
Obsolete.

Message type: drafts.

MessageTypeFailed
Obsolete.

Message type: failed outgoing message.

MessageTypeInbox
Obsolete.

Message type: inbox.

MessageTypeOutbox
Obsolete.

Message type: outbox.

MessageTypeQueued
Obsolete.

Message type: queued to send later.

MessageTypeSent
Obsolete.

Message type: sent messages.

Person

The ID of the sender of the conversation, if present.

Protocol

The protocol identifier code.

Read

Has the message been read?

ReplyPathPresent

Is the TP-Reply-Path flag set?

Seen

Has the message been seen by the user? The "seen" flag determines whether we need to show a notification.

ServiceCenter

The service center (SC) through which to send the message, if present.

Status

TP-Status value for the message, or -1 if no status has been received.

StatusComplete
Obsolete.

TP-Status: complete.

StatusFailed
Obsolete.

TP-Status: failed.

StatusNone
Obsolete.

TP-Status: no status received.

StatusPending
Obsolete.

TP-Status: pending.

Subject

The subject of the message, if present.

SubscriptionId

The subscription to which the message belongs to.

ThreadId

The thread ID of the message.

Type

The type of message.

Applies to