共用方式為


ContactsContract.CommonDataKinds.Relation.InterfaceConsts.TimesUsed Field

Definition

The number of times the referenced Data has been used.

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

Field Value

Attributes

Remarks

The number of times the referenced Data has been used.

This member is deprecated. Contacts affinity information is no longer supported as of Android version android.os.Build.VERSION_CODES#Q. This column always contains 0.

<p class="caution"><b>Caution: </b>If you publish your app to the Google Play Store, this field is obsolete, regardless of Android version. For more information, see the Contacts Provider page.</p>

Java documentation for android.provider.ContactsContract.DataUsageStatColumns.TIMES_USED.

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