共用方式為


CalendarContract.EventsEntity.InterfaceConsts.AccountName Field

Definition

The account that was used to sync the entry to the device.

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

Field Value

Attributes

Remarks

The account that was used to sync the entry to the device. If the account_type is not #ACCOUNT_TYPE_LOCAL then the name and type must match an account on the device or the calendar will be deleted.

Type: TEXT

Java documentation for android.provider.CalendarContract.SyncColumns.ACCOUNT_NAME.

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