deviceName property

String get deviceName

Get device name.

Returns

  • The device name

Throws

  • An exception if it fails.

Implementation

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

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

Set device name.

Parameters

  • IN name The device name.

Throws

  • An exception if it fails.

Implementation

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