Most visited

Recently visited

Added in API level 19

Telephony.Sms

public static final class Telephony.Sms
extends Object implements BaseColumns, Telephony.TextBasedSmsColumns

java.lang.Object
    android.provider.Telephony.Sms


包含所有基于文本的SMS消息。

摘要(Summary)

Nested classes

class Telephony.Sms.Conversations

包含SMS应用程序中发送的所有基于文本的SMS消息。

class Telephony.Sms.Draft

包含SMS应用程序中发送的所有基于文本的SMS消息。

class Telephony.Sms.Inbox

包含SMS应用程序收件箱中的所有基于文本的SMS消息。

class Telephony.Sms.Intents

包含广播的与SMS相关的Intents的常量。

class Telephony.Sms.Outbox

包含所有正在等待传出的基于文本的SMS消息。

class Telephony.Sms.Sent

包含SMS应用程序中发送的所有基于文本的SMS消息。

常量(Constants)

String DEFAULT_SORT_ORDER

此表的默认排序顺序。

Inherited constants

From interface android.provider.BaseColumns
From interface android.provider.Telephony.TextBasedSmsColumns

Fields

public static final Uri CONTENT_URI

此表格的 content://样式URL。

公共方法(Public methods)

static String getDefaultSmsPackage(Context context)

用于确定当前配置的默认SMS包。

继承方法(Inherited methods)

From class java.lang.Object

常量(Constants)

DEFAULT_SORT_ORDER

Added in API level 19
String DEFAULT_SORT_ORDER

此表的默认排序顺序。

常量值:“date DESC”

Fields

CONTENT_URI

Added in API level 19
Uri CONTENT_URI

此表的 content://样式URL。

公共方法(Public methods)

getDefaultSmsPackage

Added in API level 19
String getDefaultSmsPackage (Context context)

用于确定当前配置的默认SMS包。

参数(Parameters)
context Context: context of the requesting application
返回(Returns)
String package name for the default SMS package or null

Hooray!