OnAvailabilityErrorListener

A typealias for a callback function to be invoked when an availability error occurs.

A typealias for a callback function to be invoked when an availability error occurs.

Syntax: typealias OnAvailabilityErrorListener = (context: Context, availabilityApi: Any, statusCode: Int) -> Unit

Parameters:

Parameter NameTypeDescription
contextContextThe global application context in which the availability error occurred.
availabilityApiAnyThe instance of the API availability that encountered the error.
statusCodeIntAn integer representing the status code of the availability error.