getSettings method
Future<DynamiteResponse<SignalingGetSettingsResponseApplicationJson, void> >
getSettings({
- String? token,
- SignalingGetSettingsApiVersion? apiVersion,
- bool? oCSAPIRequest,
Get the signaling settings.
Returns a Future containing a DynamiteResponse with the status code, deserialized body and headers. Throws a DynamiteApiException if the API call does not return an expected status code.
Parameters:
token
Token of the room. Defaults to''
.apiVersion
Defaults tov3
.oCSAPIRequest
Required to be true for the API request to pass. Defaults totrue
.
Status codes:
- 200: Signaling settings returned
- 401: Recording request invalid
- 404: Room not found
See:
- getSettingsRaw for an experimental operation that returns a DynamiteRawResponse that can be serialized.
Implementation
Future<DynamiteResponse<SignalingGetSettingsResponseApplicationJson, void>> getSettings({
String? token,
SignalingGetSettingsApiVersion? apiVersion,
bool? oCSAPIRequest,
}) async {
final rawResponse = getSettingsRaw(
token: token,
apiVersion: apiVersion,
oCSAPIRequest: oCSAPIRequest,
);
return rawResponse.future;
}