Share via


SRSensorExtensions.GetValue Method

Definition

Overloads

Name Description
GetValue(NSString)

Retrieves the SRSensor value named by constant.

GetValue(NativeHandle)

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

GetValue(NSString)

Retrieves the SRSensor value named by constant.

public static SensorKit.SRSensor GetValue(Foundation.NSString? constant);
static member GetValue : Foundation.NSString -> SensorKit.SRSensor

Parameters

constant
NSString

The name of the constant to retrieve.

Returns

Applies to

GetValue(NativeHandle)

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

public static SensorKit.SRSensor GetValue(ObjCRuntime.NativeHandle handle);
static member GetValue : ObjCRuntime.NativeHandle -> SensorKit.SRSensor

Parameters

handle
NativeHandle

The native handle with the name of the constant to retrieve.

Returns

Applies to