Notification.Metric.FixedText 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.FixedText(ICharSequence) |
Creates a FixedText instance with the specified text. |
| Notification.Metric.FixedText(String) |
Creates a FixedText instance with the specified text. |
| Notification.Metric.FixedText(ICharSequence, ICharSequence) |
Creates a FixedText instance with the specified text. |
| Notification.Metric.FixedText(String, String) |
Creates a FixedText instance with the specified text. |
Notification.Metric.FixedText(ICharSequence)
Creates a FixedText instance with the specified text.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedText(Java.Lang.ICharSequence value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedText : Java.Lang.ICharSequence -> Android.App.Notification.Metric.FixedText
Parameters
- value
- ICharSequence
The non-null text to store as the metric value.
- Attributes
Remarks
Creates a FixedText instance with the specified text.
Android reference for android.app.Notification.Metric.FixedText.FixedText.
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.FixedText(String)
Creates a FixedText instance with the specified text.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedText(string value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedText : string -> Android.App.Notification.Metric.FixedText
Parameters
- value
- String
The non-null string to store as the metric value.
- Attributes
Remarks
Creates a FixedText instance with the specified text.
Android reference for android.app.Notification.Metric.FixedText.FixedText.
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.FixedText(ICharSequence, ICharSequence)
Creates a FixedText instance with the specified text.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedText(Java.Lang.ICharSequence value, Java.Lang.ICharSequence? unit);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedText : Java.Lang.ICharSequence * Java.Lang.ICharSequence -> Android.App.Notification.Metric.FixedText
Parameters
- value
- ICharSequence
The non-null text to store with the optional unit.
- unit
- ICharSequence
optional unit for the value. Limit this to a few characters. This value may be null.
- Attributes
Remarks
Creates a FixedText instance with the specified text.
Android reference for android.app.Notification.Metric.FixedText.FixedText.
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.FixedText(String, String)
Creates a FixedText instance with the specified text.
[Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedText(string value, string? unit);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedText : string * string -> Android.App.Notification.Metric.FixedText
Parameters
- value
- String
The non-null string to store with the optional unit string.
- unit
- String
optional unit for the value. Limit this to a few characters. This value may be null.
- Attributes
Remarks
Creates a FixedText instance with the specified text.
Android reference for android.app.Notification.Metric.FixedText.FixedText.
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.