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
- 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
- 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
- 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
- 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.