fetchMetaData

abstract suspend fun fetchMetaData(connection: MockzillaConnectionConfig, hideFromLogs: Boolean): Result<MetaData>

Fetches the device and application metadata from the device at connection.

Return

Result.success wrapping the device metadata, or Result.failure if the request could not be completed.

Parameters

connection

The device to target.

hideFromLogs

When true, suppresses console logging for this call. Useful for frequently-polled calls to avoid cluttering the console output.