getProfiles1 method

Future<List<Profile>?> getProfiles1({
  1. String? referenceToken,
  2. List<String>? type,
})

Any endpoint can ask for the existing media profiles of a device using the GetProfiles command. Pre-configured or dynamically configured profiles can be retrieved using this command. This command lists all configured profiles in a device. The client does not need to know the media profile in order to use the command.

Implementation

Future<List<m1.Profile>?> getProfiles1({
  String? referenceToken,
  List<String>? type,
}) async =>
    _mediaSupportLevel == MediaSupportLevel.one
        ? media1.getProfiles()
        : throw NotSupportedException();