Language

Notification.Metric.FixedInt Constructors

Definition

Overloads

Name Description
Notification.Metric.FixedInt(Int32)

Creates a FixedInt instance with the specified integer value, and no unit text.

Notification.Metric.FixedInt(Int32, ICharSequence)

Creates a FixedInt instance with the specified integer value.

Notification.Metric.FixedInt(Int32, String)

Creates a FixedInt instance with the specified integer value.

Notification.Metric.FixedInt(Int32)

Creates a FixedInt instance with the specified integer value, and no unit text.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)]
public FixedInt(int value);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedInt : int -> Android.App.Notification.Metric.FixedInt

Parameters

value
Int32
Attributes

Remarks

Creates a FixedInt instance with the specified integer value, and no unit text.

Android reference for android.app.Notification.Metric.FixedInt.FixedInt.

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.FixedInt(Int32, ICharSequence)

Creates a FixedInt instance with the specified integer value.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedInt(int value, Java.Lang.ICharSequence? unit);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedInt : int * Java.Lang.ICharSequence -> Android.App.Notification.Metric.FixedInt

Parameters

value
Int32
unit
ICharSequence

optional unit for the value. Limit this to a few characters. This value may be null.

Attributes

Remarks

Creates a FixedInt instance with the specified integer value.

Android reference for android.app.Notification.Metric.FixedInt.FixedInt.

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.FixedInt(Int32, String)

Creates a FixedInt instance with the specified integer value.

[Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;)V", "", ApiSince=37)]
public FixedInt(int value, string? unit);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/CharSequence;)V", "", ApiSince=37)>]
new Android.App.Notification.Metric.FixedInt : int * string -> Android.App.Notification.Metric.FixedInt

Parameters

value
Int32
unit
String

optional unit for the value. Limit this to a few characters. This value may be null.

Attributes

Remarks

Creates a FixedInt instance with the specified integer value.

Android reference for android.app.Notification.Metric.FixedInt.FixedInt.

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