SRDeviceUsageCategoryExtensions.GetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| GetValue(NSString) |
Retrieves the SRDeviceUsageCategory value named by |
| GetValue(NativeHandle) |
Retrieves the SRDeviceUsageCategory value represented by the backing field value in |
GetValue(NSString)
Retrieves the SRDeviceUsageCategory value named by constant.
public static SensorKit.SRDeviceUsageCategory GetValue(Foundation.NSString constant);
static member GetValue : Foundation.NSString -> SensorKit.SRDeviceUsageCategory
Parameters
- constant
- NSString
The name of the constant to retrieve.
Returns
Applies to
GetValue(NativeHandle)
Retrieves the SRDeviceUsageCategory value represented by the backing field value in handle.
public static SensorKit.SRDeviceUsageCategory GetValue(ObjCRuntime.NativeHandle handle);
static member GetValue : ObjCRuntime.NativeHandle -> SensorKit.SRDeviceUsageCategory
Parameters
- handle
- NativeHandle
The native handle with the name of the constant to retrieve.