getProfiles2 method
Retrieve the profile with the specified token or all defined media profiles.
- If no Type is provided the returned profiles shall contain no configuration information.
- If a single Type with value 'All' is provided the returned profiles shall include all associated configurations.
- Otherwise the requested list of configurations shall for each profile include the configurations present as Type.
Implementation
Future<List<m2.MediaProfile>> getProfiles2({
String? referenceToken,
List<String>? type,
}) async =>
_mediaSupportLevel == MediaSupportLevel.one
? throw NotSupportedException()
: media2.getProfiles(referenceToken: referenceToken, type: type);