setDeviceName method

Class: ChromeEmulationInfoPlatform: AppiumLanguage: Java SDK:

Use this method to set the name of the device.

Syntax

obj.setDeviceName(deviceName);

Parameters

deviceName
Type:DeviceName
deviceName

Return value

Type: void