Method GetDeviceProperty
GetDeviceProperty(PlayerDeviceProperty)
Gets the specified device property/capability as advertised by the client.
public int GetDeviceProperty(PlayerDeviceProperty property)
Parameters
propertyPlayerDevicePropertyThe property to query.
Returns
- int
The queried property value, or -1 if:
- the property was never set by the client,
- the actual value is -1,
- the player is running a older build that does not advertise device properties,
- the player has disabled sending device properties (Options/Game/Privacy).