setDeviceDisplayName method

Future<void> setDeviceDisplayName (
  1. {@required String deviceDisplayName}
)

Sets the display name of the device. The deviceDisplayName is stored in the MobileFirst Server registration data.

Implementation

Future<void> setDeviceDisplayName(
    {@required String deviceDisplayName}) async {
  await _channel.invokeMethod(WLCLIENT_SETDEVICE_DISPLAYNAME,
      <String, dynamic>{DEVICE_DISPLAYNAME: deviceDisplayName});
}