collect

open suspend override fun collect(): DeviceProfileResult

Collects comprehensive device profile data based on the configuration.

This method orchestrates the entire device profile collection process:

  1. Configures loggers for all collectors that support logging

  2. Retrieves the unique device identifier

  3. Conditionally collects metadata if enabled in configuration

  4. Conditionally collects location if enabled in configuration

Return

A DeviceProfileResult containing the collected device profile data