Android.Views.SurfaceView.SetSecure Method
Control whether the surface view's content should be treated as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.

Syntax

[Android.Runtime.Register("setSecure", "(Z)V", "GetSetSecure_ZHandler")]
public virtual void SetSecure (bool isSecure)

Parameters

isSecure
True if the surface view is secure.

Remarks

Control whether the surface view's content should be treated as secure, preventing it from appearing in screenshots or from being viewed on non-secure displays.

Note that this must be set before the surface view's containing window is attached to the window manager.

See Display.FlagSecure for details.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 17