AccessibilityNodeInfo.RangeInfo.Obtain 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.
Instantiates a new RangeInfo.
[Android.Runtime.Register("obtain", "(IFFF)Landroid/view/accessibility/AccessibilityNodeInfo$RangeInfo;", "")]
public static Android.Views.Accessibility.AccessibilityNodeInfo.RangeInfo? Obtain(Android.Views.Accessibility.RangeType type, float min, float max, float current);
[<Android.Runtime.Register("obtain", "(IFFF)Landroid/view/accessibility/AccessibilityNodeInfo$RangeInfo;", "")>]
static member Obtain : Android.Views.Accessibility.RangeType * single * single * single -> Android.Views.Accessibility.AccessibilityNodeInfo.RangeInfo
Parameters
- type
- RangeType
The type of the range. Value is one of the following: RANGE_TYPE_INT; RANGE_TYPE_FLOAT; RANGE_TYPE_PERCENT; RANGE_TYPE_INDETERMINATE
- min
- Single
The minimum value. Use Float.NEGATIVE_INFINITY if the range has no minimum.
- max
- Single
The maximum value. Use Float.POSITIVE_INFINITY if the range has no maximum.
- current
- Single
The current value.
Returns
- Attributes
Remarks
This method was deprecated in API level 33. Object pooling has been discontinued. Create a new instance using the constructor AccessibilityNodeInfo.RangeInfo.RangeInfo(int,float,float,float) instead.
Instantiates a new RangeInfo.
Android reference for android.view.accessibility.AccessibilityNodeInfo.RangeInfo.obtain.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.