Functions

Link copied to clipboard

Build the ProfilingRequest object which can be used with requestProfiling to request profiling.

Link copied to clipboard
fun setCancellationSignal(cancellationSignal: CancellationSignal): T

Set a CancellationSignal to request cancellation of the requested trace. Results will be returned if available.

Link copied to clipboard
fun setTag(tag: String): T

Add data to help identify the output. The first 20 alphanumeric characters, plus dashes, will be lowercased and included in the output filename.