setContentProtected

external fun setContentProtected(protected_: Boolean): Promise<Void>(source)

Prevents the window contents from being captured by other apps.