getMapping

abstract fun getMapping(@NonNull droneModel: Drone.Model): Set<MappingEntry>

Gets a drone model mapping.

This retrieves the set of all mapping entries currently defined for the provided drone model.

The application gets its own copy of the mapping entry set, which can be freely modified.

Return

set of current mapping entries as configured for the provided drone model (possibly empty if no entry is defined for that model), otherwise null in case the drone model is not supported.

See also

Parameters

droneModel

the drone model for which to retrieve the mapping