Stay organized with collections Save and categorize content based on your preferences.

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 resultCode of ERROR and a specified errorCode.

Properties

Result

A Result with a resultCode of CANCELLED.

Result

A Result with a resultCode of ERROR with an errorCode of MEDIA_TRANSFER_NO_ELIGIBLE_MEDIA_CONTROLLER.

Result

A Result with a resultCode of ERROR with an errorCode of MEDIA_TRANSFER_NO_ROUTE.

Result

A Result with a resultCode of ERROR with an errorCode of MEDIA_TRANSFER_NULL_MEDIA_ROUTER.

Result

A Result with a resultCode of ERROR with an errorCode of UNKNOWN.

Result

A Result with a resultCode of SUCCESS.

Public methods

forError

fun forError(errorCode: ErrorCode): Result

Returns a Result with a resultCode of ERROR and a specified errorCode.

Properties

CANCELLED

val CANCELLED: Result

A Result with a resultCode of CANCELLED.

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.

SUCCESS

val SUCCESS: Result

A Result with a resultCode of SUCCESS.