Share via


SRDeviceUsageCategoryExtensions.GetValue Method

Definition

Overloads

Name Description
GetValue(NSString)

Retrieves the SRDeviceUsageCategory value named by constant.

GetValue(NativeHandle)

Retrieves the SRDeviceUsageCategory value represented by the backing field value in handle.

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.

Returns

Applies to