requestProfiling

@RequiresApi(api = 35)
fun requestProfiling(context: Context, profilingRequest: ProfilingRequest, executor: Executor?, listener: Consumer<ProfilingResult>?)(source)

Request profiling using a ProfilingRequest generated by one of the provided builders.

If the executor and/or listener are null, and if no global listener and executor combinations are registered using registerForAllProfilingResults, the request will be dropped.