We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24c44f5 commit bc6af3eCopy full SHA for bc6af3e
lib/src/robot/client.dart
@@ -14,6 +14,7 @@ import '../resource/registry.dart';
14
import '../rpc/dial.dart';
15
import '../rpc/web_rtc/web_rtc_client.dart';
16
17
+typedef CloudMetadata = GetCloudMetadataResponse;
18
Logger _logger = Logger();
19
20
/// The options that define the behavior of the [RobotClient].
@@ -227,4 +228,8 @@ class RobotClient {
227
228
StreamClient getStream(String name) {
229
return _streamManager.getStreamClient(name);
230
}
231
+
232
+ Future<CloudMetadata> getCloudMetadata() async {
233
+ return await _client.getCloudMetadata(GetCloudMetadataRequest());
234
+ }
235
0 commit comments