DevicesArea

@Composable
fun DevicesArea(devices: List<Device> = listOf(), selectedDevice: Device, onDeviceSelected: (Device) -> Unit, onFetchApps: (Device) -> Unit = {})

This function displays a devices area for the application.

Parameters

devices

The list of devices to be displayed in the devices area.

selectedDevice

The selected device.

onDeviceSelected

The action to be performed when a device is selected.

onFetchApps

The action to be performed when the apps are fetched.

Example usage:

DevicesArea(
devices = listOf(),
selectedDevice = Device(DeviceDetails(name = emptyString)),
onDeviceSelected = { },
onFetchApps = { }
)