RuntimeCheck

data class RuntimeCheck(val rasp: RASP) : ViewModel

This class holds and manage runtime checks collection, it implements a ViewModel

Parameters

rasp

RASP — the main instance to use the Pradeo software

Constructors

Link copied to clipboard
constructor(rasp: RASP)

Properties

Link copied to clipboard
val rasp: RASP

Functions

Link copied to clipboard
Link copied to clipboard
suspend fun detectScreenshot(owner: AppCompatActivity, callback: () -> Unit)

Detect if a screenshot is triggered on an activity.

Link copied to clipboard

Start observing runtime status

Link copied to clipboard
suspend fun runOnEmulator(owner: AppCompatActivity, callback: () -> Unit)

Detect if the application is running on an emulator.