selectionModeForCategory method

Future<AidSelectionMode> selectionModeForCategory(
  1. CardEmulationCategory category
)

How the platform picks between apps that claim the same AID in category.

Tells an app whether a conflict is worth trying to win with setPreferredService or whether the user decides -- see AidSelectionMode.

Implementation

Future<AidSelectionMode> selectionModeForCategory(CardEmulationCategory category) async =>
    _selectionModeFromWire(await androidApi.hceSelectionModeForCategory(_categoryToWire(category)));