Notification.Metric.FixedFloat Constructors
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 |
|---|---|
| Notification.Metric.FixedFloat(Single) |
Creates a FixedFloat instance with no unit and 0 minimum and 2 maximum fractional digits. |
| Notification.Metric.FixedFloat(Single, ICharSequence) |
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits. |
| Notification.Metric.FixedFloat(Single, String) |
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits. |
| Notification.Metric.FixedFloat(Single, ICharSequence, Int32, Int32) |
Creates a FixedFloat instance. |
| Notification.Metric.FixedFloat(Single, String, Int32, Int32) |
Creates a FixedFloat instance. |
Notification.Metric.FixedFloat(Single)
Creates a FixedFloat instance with no unit and 0 minimum and 2 maximum fractional digits.
[Android.Runtime.Register(".ctor", "(F)V", "", ApiSince=37)]
public FixedFloat(float value);
[<Android.Runtime.Register(".ctor", "(F)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedFloat : single -> Android.App.Notification.Metric.FixedFloat
Parameters
- value
- Single
- Attributes
Remarks
Creates a FixedFloat instance with no unit and 0 minimum and 2 maximum fractional digits.
Android reference for android.app.Notification.Metric.FixedFloat.FixedFloat.
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.
Applies to
Notification.Metric.FixedFloat(Single, ICharSequence)
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits.
[Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedFloat(float value, Java.Lang.ICharSequence? unit);
[<Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedFloat : single * Java.Lang.ICharSequence -> Android.App.Notification.Metric.FixedFloat
Parameters
- value
- Single
- unit
- ICharSequence
optional unit for the value. Limit this to a few characters. This value may be null.
- Attributes
Remarks
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits.
Android reference for android.app.Notification.Metric.FixedFloat.FixedFloat.
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.
Applies to
Notification.Metric.FixedFloat(Single, String)
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits.
[Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedFloat(float value, string? unit);
[<Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedFloat : single * string -> Android.App.Notification.Metric.FixedFloat
Parameters
- value
- Single
- unit
- String
optional unit for the value. Limit this to a few characters. This value may be null.
- Attributes
Remarks
Creates a FixedFloat instance with 0 minimum and 2 maximum fractional digits.
Android reference for android.app.Notification.Metric.FixedFloat.FixedFloat.
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.
Applies to
Notification.Metric.FixedFloat(Single, ICharSequence, Int32, Int32)
Creates a FixedFloat instance.
[Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;II)V", "", ApiSince=37)]
public FixedFloat(float value, Java.Lang.ICharSequence? unit, int minFractionDigits, int maxFractionDigits);
[<Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;II)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedFloat : single * Java.Lang.ICharSequence * int * int -> Android.App.Notification.Metric.FixedFloat
Parameters
- value
- Single
- unit
- ICharSequence
optional unit for the value. Limit this to a few characters. This value may be null.
- minFractionDigits
- Int32
- maxFractionDigits
- Int32
- Attributes
Remarks
Creates a FixedFloat instance.
Note that the specified fraction digits might be ignored to make the text fit.
Android reference for android.app.Notification.Metric.FixedFloat.FixedFloat.
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.
Applies to
Notification.Metric.FixedFloat(Single, String, Int32, Int32)
Creates a FixedFloat instance.
[Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;II)V", "", ApiSince=37)]
public FixedFloat(float value, string? unit, int minFractionDigits, int maxFractionDigits);
[<Android.Runtime.Register(".ctor", "(FLjava/lang/CharSequence;II)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedFloat : single * string * int * int -> Android.App.Notification.Metric.FixedFloat
Parameters
- value
- Single
- unit
- String
optional unit for the value. Limit this to a few characters. This value may be null.
- minFractionDigits
- Int32
- maxFractionDigits
- Int32
- Attributes
Remarks
Creates a FixedFloat instance.
Note that the specified fraction digits might be ignored to make the text fit.
Android reference for android.app.Notification.Metric.FixedFloat.FixedFloat.
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.