Automation via ADB

The Android version of the Studio SDK native library implements a BroadcastReceiver that can be targeted with SDK actions.

⚠️
The BroadcastReceiver is only registered and able to receive commands while the game is foregrounded.
adb shell am broadcast -a com.gamebench.sdk.ACTION_SESSION_START

adb shell am broadcast -a com.gamebench.sdk.ACTION_SESSION_STOP

adb shell am broadcast -a com.gamebench.sdk.ACTION_MARKER_START -e name <MARKER NAME>

adb shell am broadcast -a com.gamebench.sdk.ACTION_MARKER_STOP -e name <MARKER NAME>

adb shell am broadcast -a com.gamebench.sdk.ACTION_SET_CONFIG -e name <CONFIG ITEM NAME> -e value <CONFIG VALUE>

adb shell am broadcast -a com.gamebench.sdk.ACTION_UPLOAD
Last updated on