Udostępnij za pośrednictwem


MeasureUnit Class

Definition

[Android.Runtime.Register("android/icu/util/MeasureUnit", ApiSince=24, DoNotGenerateAcw=true)]
public class MeasureUnit : Java.Lang.Object, IDisposable, Java.Interop.IJavaPeerable, Java.IO.ISerializable
[<Android.Runtime.Register("android/icu/util/MeasureUnit", ApiSince=24, DoNotGenerateAcw=true)>]
type MeasureUnit = class
    inherit Object
    interface ISerializable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
MeasureUnit
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Constructors

MeasureUnit(IntPtr, JniHandleOwnership)

Properties

Acre
AcreFoot
Ampere
ArcMinute
ArcSecond
AstronomicalUnit
Atmosphere
Available
AvailableTypes
Bit
Bushel
Byte
Calorie
Candela
Carat
Celsius
Centiliter
Centimeter
Century
Class

Returns the runtime class of this Object.

(Inherited from Object)
CubicCentimeter
CubicFoot
CubicInch
CubicKilometer
CubicMeter
CubicMile
CubicYard
Cup
CupMetric
Day
Decade
Deciliter
Decimeter
Degree
Dimensionality
Dot
DotPerCentimeter
DotPerInch
Em
Fahrenheit
Fathom
FluidOunce
Foodcalorie
Foot
Furlong
Gallon
GallonImperial
GenericTemperature
GForce
Gigabit
Gigabyte
Gigahertz
Gigawatt
Gram
Handle

The handle to the underlying Android instance.

(Inherited from Object)
Hectare
Hectoliter
Hectopascal
Hertz
Horsepower
Hour
Identifier
Inch
InchHg
Item
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
Joule
Karat
Kelvin
Kilobit
Kilobyte
Kilocalorie
Kilogram
Kilohertz
Kilojoule
Kilometer
KilometerPerHour
Kilowatt
KilowattHour
KilowattHourPer100Kilometer
Knot
LightYear
Liter
LiterPer100kilometers
LiterPerKilometer
Lumen
Lux
Megabit
Megabyte
Megahertz
Megaliter
Megapixel
Megawatt
Meter
MeterPerSecond
MeterPerSecondSquared
MetricTon
Microgram
Micrometer
Microsecond
Mile
MilePerGallon
MilePerGallonImperial
MilePerHour
MileScandinavian
Milliampere
Millibar
Milligram
MilligramOfglucosePerDeciliter
MilligramPerDeciliter
Milliliter
Millimeter
MillimeterOfMercury
MillimolePerLiter
Millisecond
Milliwatt
Minute
Month
Nanometer
Nanosecond
NauticalMile
Ohm
Ounce
OunceTroy
Parsec
PartPerMillion
PeerReference (Inherited from Object)
Percent
Permille
Petabyte
Picometer
Pint
PintMetric
Pixel
PixelPerCentimeter
PixelPerInch
Point
Pound
PoundPerSquareInch
Prefix
Quart
Radian
RevolutionAngle
Second
SquareCentimeter
SquareFoot
SquareInch
SquareKilometer
SquareMeter
SquareMile
SquareYard
Stone
Subtype
Tablespoon
Teaspoon
Terabit
Terabyte
ThresholdClass
ThresholdType
Ton
Type
Volt
Watt
Week
Yard
Year

Methods

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
ForIdentifier(String)
GetAvailable(String)
GetComplexity()
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

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

(Inherited from Object)
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)
Product(MeasureUnit)
Reciprocal()
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SplitToSingleUnits()
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
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)
WithDimensionality(Int32)
WithPrefix(MeasureUnit+MeasurePrefix)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to