deleteRemoteGatewayConfig static method

Future<OpenIoTHubOperationResponse> deleteRemoteGatewayConfig(
  1. SessionConfig sessionConfig
)

Implementation

static Future<OpenIoTHubOperationResponse> deleteRemoteGatewayConfig(
    SessionConfig sessionConfig) async {
  final channel = await Channel.getOpenIoTHubChannel();
  final stub = SessionManagerClient(channel);
  OpenIoTHubOperationResponse response =
      await stub.deleteRemoteGatewayConfig(sessionConfig);
  print('deletRemoteGatewayConfig delete: ${sessionConfig.runId}');
  print('deletRemoteGatewayConfig received: ${response}');
  channel.shutdown();
  return response;
}