deviceName property

String get deviceName

Returns the configured device name.

Returns

Implementation

static String get deviceName {
  final OperationResult resultString = staticMethod(
    'SdkSettings',
    'getDeviceName',
  );

  return resultString['result'];
}
set deviceName (String name)

Sets the device name reported to the SDK.

Parameters

  • name: the device name string.

Implementation

static set deviceName(String name) {
  staticMethod('SdkSettings', 'setDeviceName', args: name);
}