getServiceCapabilities method
Returns the capabilities of the recording service. The result is returned in a typed answer.
ACCESS CLASS: PRE_AUTH
Implementation
Future<Capabilities> getServiceCapabilities() async {
loggy.debug('getServiceCapabilities');
final responseEnvelope = await transport.request(
uri,
soap.Body(
request: RecordingsRequest.getServiceCapabilities(),
),
);
if (responseEnvelope.body.hasFault) {
throw Exception(responseEnvelope.body.fault.toString());
}
return GetServiceCapabilitiesResponse.fromJson(
responseEnvelope.body.response!)
.capabilities;
}