setTimeDomain

suspend fun setTimeDomain(args: Performance.SetTimeDomainParameter, mode: CommandMode = CommandMode.DEFAULT)

Deprecated

Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.


suspend fun setTimeDomain(timeDomain: String)

Deprecated

Sets time domain to use for collecting and reporting duration metrics. Note that this must be called before enabling metrics collection. Calling this method while metrics collection is enabled returns an error.

Parameters

timeDomain

Time domain