getServiceCapabilities1 method

Future<Capabilities1> getServiceCapabilities1()

Returns the capabilities of the media service. The result is returned in a typed answer.

Implementation

Future<m1.Capabilities1> getServiceCapabilities1() async =>
    _mediaSupportLevel == MediaSupportLevel.one
        ? media1.getServiceCapabilities()
        : throw NotSupportedException();