Traits

Provides a more convenient and safe interface to access less commonly used device information. The methods return the appropriate type for the given device info, rather than a DeviceInfoResult which must then be manually converted. This saves a significant amount of boilerplate when querying multiple different types of device information or using ones which don’t already have a method on Device.