View.ContentSensitivity Property

Definition

Gets content sensitivity mode to determine whether this view displays sensitive content. -or- Sets content sensitivity mode to determine whether this view displays sensitive content (e.

public Android.Views.ViewContentSensitivity ContentSensitivity { [Android.Runtime.Register("getContentSensitivity", "()I", "", ApiSince=35)] get; [Android.Runtime.Register("setContentSensitivity", "(I)V", "", ApiSince=35)] set; }
[<get: Android.Runtime.Register("getContentSensitivity", "()I", "", ApiSince=35)>]
[<set: Android.Runtime.Register("setContentSensitivity", "(I)V", "", ApiSince=35)>]
member this.ContentSensitivity : Android.Views.ViewContentSensitivity with get, set

Property Value

#CONTENT_SENSITIVITY_AUTO by default, or value passed to #setContentSensitivity(int).

Attributes

Remarks

Property getter documentation:

Gets content sensitivity mode to determine whether this view displays sensitive content.

See #setContentSensitivity(int) and #isContentSensitive() for more info about this mode.

Java documentation for android.view.View.getContentSensitivity().

Property setter documentation:

Sets content sensitivity mode to determine whether this view displays sensitive content (e.g. username, password etc.). The system may improve user privacy i.e. hide content drawn by a sensitive view from screen sharing and recording.

Java documentation for android.view.View.setContentSensitivity(int).

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