deviceName
The user defined name of the device (Read Only).
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public static string deviceName { get; }
Remarks
This is typically the name of the device as it appears on the networks.
Android: There's no API for returning the device name. Therefore, Unity attempts to read and from secure system settings. If no value is found, string is returned.
device_namebluetooth_name<unknown>Will return SystemInfo.unsupportedIdentifier on platforms which don't support this property.
Additional Resources: SystemInfo.deviceModel.