Added in API level 35

ScanRequest


class ScanRequest
kotlin.Any
   ↳ android.media.MediaRouter2.ScanRequest

Represents a set of parameters for scanning requests.

See requestScan(android.media.MediaRouter2.ScanRequest) for more details.

Summary

Nested classes

Builder class for ScanRequest.

Public methods
Boolean

Returns whether the scan request corresponds to a screen-off scan.

Public methods

isScreenOffScan

Added in API level 35
fun isScreenOffScan(): Boolean

Returns whether the scan request corresponds to a screen-off scan.