共用方式為


ContactsContract.CommonDataKinds.Callable.InterfaceConsts.AccountTypeAndDataSet Field

Definition

A concatenation of the account type and data set (delimited by a forward slash) - if the data set is empty, this will be the same as the account type.

[Android.Runtime.Register("ACCOUNT_TYPE_AND_DATA_SET")]
public const string AccountTypeAndDataSet;
[<Android.Runtime.Register("ACCOUNT_TYPE_AND_DATA_SET")>]
val mutable AccountTypeAndDataSet : string

Field Value

Attributes

Remarks

A concatenation of the account type and data set (delimited by a forward slash) - if the data set is empty, this will be the same as the account type. For applications that need to be aware of the data set, this can be used instead of account type to distinguish sets of data. This is never intended to be used for specifying accounts.

This column does *not* escape forward slashes in the account type or the data set. If this is an issue, consider using ContactsContract.RawContacts#ACCOUNT_TYPE and ContactsContract.RawContacts#DATA_SET directly.

Java documentation for android.provider.ContactsContract.RawContactsColumns.ACCOUNT_TYPE_AND_DATA_SET.

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.

Applies to