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 Name | Type | Description |
|---|---|---|
| context | Context | The global application context in which the availability error occurred. |
| availabilityApi | Any | The instance of the API availability that encountered the error. |
| statusCode | Int | An integer representing the status code of the availability error. |
Updated 12 months ago
