Results
object Results
kotlin.Any | |
↳ | com.google.android.gms.dtdi.analytics.Results |
Direct use of Results
is not supported.
Helper functions to create common formats of Result.
Summary
Public methods |
|
---|---|
Result |
forError(errorCode: ErrorCode) Returns a Result with a |
Properties |
|
---|---|
Result |
A Result with a |
Result |
A Result with a |
Result |
A Result with a |
Result |
A Result with a |
Result |
A Result with a |
Result |
A Result with a |
Public methods
forError
fun forError(errorCode: ErrorCode): Result
Returns a Result with a resultCode
of ERROR
and a specified errorCode
.
Properties
ERROR_CODE_MEDIA_TRANSFER_NO_ELIGIBLE_MEDIA_CONTROLLER
val ERROR_CODE_MEDIA_TRANSFER_NO_ELIGIBLE_MEDIA_CONTROLLER: Result
A Result with a resultCode
of ERROR
with an errorCode
of
MEDIA_TRANSFER_NO_ELIGIBLE_MEDIA_CONTROLLER
.
ERROR_CODE_MEDIA_TRANSFER_NO_ROUTE
val ERROR_CODE_MEDIA_TRANSFER_NO_ROUTE: Result
A Result with a resultCode
of ERROR
with an errorCode
of MEDIA_TRANSFER_NO_ROUTE
.
ERROR_CODE_MEDIA_TRANSFER_NULL_MEDIA_ROUTER
val ERROR_CODE_MEDIA_TRANSFER_NULL_MEDIA_ROUTER: Result
A Result with a resultCode
of ERROR
with an errorCode
of
MEDIA_TRANSFER_NULL_MEDIA_ROUTER
.
ERROR_UNKNOWN
val ERROR_UNKNOWN: Result
A Result with a resultCode
of ERROR
with an errorCode
of UNKNOWN
.