Share via


VoicemailContract.Voicemails.Dirty Field

Definition

Flag used to indicate that local, unsynced changes are present.

[Android.Runtime.Register("DIRTY", ApiSince=23)]
public const string Dirty;
[<Android.Runtime.Register("DIRTY", ApiSince=23)>]
val mutable Dirty : string

Field Value

Attributes

Remarks

Flag used to indicate that local, unsynced changes are present. Currently, this is used to indicate that the voicemail was read or deleted. The value will be 1 if dirty is true, 0 if false.

When a caller updates a voicemail row (either with ContentResolver#update or ContentResolver#applyBatch), and if the ContentValues doesn't contain this column, the voicemail provider implicitly sets it to 0 if the calling package is the #SOURCE_PACKAGE or to 1 otherwise. To prevent this behavior, explicitly set #DIRTY_RETAIN to DIRTY in the ContentValues.

Type: INTEGER (boolean)

Java documentation for android.provider.VoicemailContract.Voicemails.DIRTY.

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