fetchAppIcon

abstract suspend fun fetchAppIcon(connection: MockzillaConnectionConfig): Result<ByteArray?>

Fetches the app icon from the app at connection as a byte array

Return

Result.success wrapping the raw byts of the icon, or Result.failure if the request could not be completed.

Parameters

connection

The device to target.