getServiceCapabilities2 method

Future<Capabilities2> getServiceCapabilities2()

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

Implementation

Future<m2.Capabilities2> getServiceCapabilities2() async =>
    _mediaSupportLevel == MediaSupportLevel.one
        ? throw NotSupportedException()
        : media2.getServiceCapabilities();