Code example for Instrumentation

Methods: callActivityOnPausecallActivityOnResumesleep