Language

MeasureUnit.MeasurePrefix Class

Definition

Enumeration for SI and binary prefixes, e.

[Android.Runtime.Register("android/icu/util/MeasureUnit$MeasurePrefix", ApiSince=34, DoNotGenerateAcw=true)]
public sealed class MeasureUnit.MeasurePrefix : Java.Lang.Enum
[<Android.Runtime.Register("android/icu/util/MeasureUnit$MeasurePrefix", ApiSince=34, DoNotGenerateAcw=true)>]
type MeasureUnit.MeasurePrefix = class
    inherit Enum
Inheritance
MeasureUnit.MeasurePrefix
Attributes

Remarks

Enumeration for SI and binary prefixes, e.g. "kilo-", "nano-", "mebi-".

Java documentation for android.icu.util.MeasureUnit.MeasurePrefix.

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.

Properties

Name Description
Atto

SI prefix: atto, 10^-18.

Base

Returns the base of the prefix.

Centi

SI prefix: centi, 10^-2.

Class

Returns the runtime class of this Object.

(Inherited from Object)
Deci

SI prefix: deci, 10^-1.

DeclaringClass

Returns the Class object corresponding to this enum constant's enum type.

(Inherited from Enum)
Deka

SI prefix: deka, 10^1.

Exa

SI prefix: exa, 10^18.

Exbi

IEC binary prefix: exbi, 1024^6.

Femto

SI prefix: femto, 10^-15.

Gibi

IEC binary prefix: gibi, 1024^3.

Giga

SI prefix: giga, 10^9.

Handle

The handle to the underlying Android instance.

(Inherited from Object)
Hecto

SI prefix: hecto, 10^2.

JniIdentityHashCode

Gets the identity hash code assigned to this Java peer by the interop runtime.

(Inherited from Object)
JniManagedPeerState (Inherited from JavaObject)
JniPeerMembers
Kibi

IEC binary prefix: kibi, 1024^1.

Kilo

SI prefix: kilo, 10^3.

Mebi

IEC binary prefix: mebi, 1024^2.

Mega

SI prefix: mega, 10^6.

Micro

SI prefix: micro, 10^-6.

Milli

SI prefix: milli, 10^-3.

Nano

SI prefix: nano, 10^-9.

One

The absence of an SI prefix.

Pebi

IEC binary prefix: pebi, 1024^5.

PeerReference

Gets the JNI object reference for this Java peer.

(Inherited from Object)
Peta

SI prefix: peta, 10^15.

Pico

SI prefix: pico, 10^-12.

Power

Returns the power of the prefix.

Quecto

SI prefix: quecto, 10^-30.

Quetta

SI prefix: quetta, 10^30.

Ronna

SI prefix: ronna, 10^27.

Ronto

SI prefix: ronto, 10^-27.

Tebi

IEC binary prefix: tebi, 1024^4.

Tera

SI prefix: tera, 10^12.

ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Enum)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Enum)
Yobi

IEC binary prefix: yobi, 1024^8.

Yocto

SI prefix: yocto, 10^-24.

Yotta

SI prefix: yotta, 10^24.

Zebi

IEC binary prefix: zebi, 1024^7.

Zepto

SI prefix: zepto, 10^-21.

Zetta

SI prefix: zetta, 10^21.

Methods

Name Description
Clone()

Throws CloneNotSupportedException.

(Inherited from Enum)
CompareTo(Object)

Compares this enum with the specified object for order.

(Inherited from Enum)
Construct(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
Dispose()

Releases the resources held by this Java peer.

(Inherited from Object)
Dispose(Boolean)

Releases the resources held by this Java peer.

(Inherited from Object)
DisposeUnlessReferenced() (Inherited from JavaObject)
Equals(Object) (Inherited from JavaObject)
Equals(Object)

Returns true if the specified object is equal to this enum constant.

(Inherited from Enum)
GetHashCode()

Returns a hash code for this enum constant.

(Inherited from Enum)
JavaFinalize()
Obsolete.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Name()

Returns the name of this enum constant, exactly as declared in its enum declaration.

(Inherited from Enum)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Ordinal()

Returns the ordinal of this enumeration constant (its position in its enum declaration, where the initial constant is assigned an ordinal of zero).

(Inherited from Enum)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetPeerReference(JniObjectReference, JniObjectReferenceOptions) (Inherited from JavaObject)
ToArray<T>()

Creates a managed array from this Java array wrapper.

(Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime()

Unregisters this Java peer from the interop runtime.

(Inherited from Object)
ValueOf(String)
Values()
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

Name Description
IJavaPeerable.Disposed() (Inherited from JavaObject)
IJavaPeerable.Finalized() (Inherited from JavaObject)
IJavaPeerable.JniObjectReferenceControlBlock (Inherited from JavaObject)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from JavaObject)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from JavaObject)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from JavaObject)
IJavaPeerable.UnregisterFromRuntime() (Inherited from Enum)

Extension Methods

Name Description
GetJniTypeName(IJavaPeerable)

Gets the JNI name of the type of the instance self.

JavaAs<TResult>(IJavaPeerable)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
TryJavaCast<TResult>(IJavaPeerable, TResult)

Try to coerce self to type TResult, checking that the coercion is valid on the Java side.

Applies to