Share via


ClipDescription.ExtraIsSensitive Field

Definition

Indicates that a ClipData contains potentially sensitive information, such as a password or credit card number.

[Android.Runtime.Register("EXTRA_IS_SENSITIVE", ApiSince=33)]
public const string ExtraIsSensitive;
[<Android.Runtime.Register("EXTRA_IS_SENSITIVE", ApiSince=33)>]
val mutable ExtraIsSensitive : string

Field Value

Implements

Attributes

Remarks

Indicates that a ClipData contains potentially sensitive information, such as a password or credit card number.

Type: boolean

This extra can be used to indicate that a ClipData contains sensitive information that should be redacted or hidden from view until a user takes explicit action to reveal it (e.g., by pasting).

Adding this extra does not change clipboard behavior or add additional security to the ClipData. Its purpose is essentially a rendering hint from the source application, asking that the data within be obfuscated or redacted, unless the user has taken action to make it visible.

Java documentation for android.content.ClipDescription.EXTRA_IS_SENSITIVE.

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