Table of Contents

Class AndroidScreenRecordingBlocker

Namespace
CodeStage.AntiCheat.Utils
Assembly
Build.dll

Allows preventing screenshots or screen recording of your app using Android's builtin security feature. Can be helpful against some bots on non-rooted devices.

public static class AndroidScreenRecordingBlocker
Inheritance
object
AndroidScreenRecordingBlocker

Remarks

While Android makes its best to prevent screenshots and video recording, it's not guaranteed it will work with some custom ROMs built-in software. Please keep in mind anyone still can use another camera to shoot your app footage from current device screen.

Methods

AllowScreenRecording()

public static void AllowScreenRecording()

PreventScreenRecording()

public static void PreventScreenRecording()