Langue

Notification.Metric.FixedFloat.UnitFormatted Property

Definition

The unit of measurement for the value, if required.

public Java.Lang.ICharSequence? UnitFormatted { [Android.Runtime.Register("getUnit", "()Ljava/lang/CharSequence;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getUnit", "()Ljava/lang/CharSequence;", "", ApiSince=37)>]
member this.UnitFormatted : Java.Lang.ICharSequence

Property Value

Attributes

Remarks

The unit of measurement for the value, if required.

This may not be shown to the user in all views.

The space allocated to this will be limited. It's recommended to limit this to just a few characters.

Android reference for android.app.Notification.Metric.FixedFloat.getUnit.

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