Android.Util Namespace

Classes

AndroidException

Base class for all checked exceptions thrown by the Android frameworks.

AndroidRuntimeException

Base class for all unchecked exceptions thrown by the Android frameworks.

ArrayMap

ArrayMap is a generic key->value mapping data structure that is designed to be more memory efficient than a traditional JavaDictionary.

ArraySet
AtomicFile

Helper class for performing atomic operations on a file by creating a backup file until a write has successfully completed.

Base64

Utilities for encoding and decoding the Base64 representation of binary data.

Base64DataException

This exception is thrown by Base64InputStream or Base64OutputStream when an error is detected in the data being decoded.

Base64InputStream

An InputStream that does Base64 decoding on the data read through it.

Base64OutputStream

An OutputStream that does Base64 encoding on the data written to it, writing the resulting data to another OutputStream.

Config
DebugUtils
DisplayMetrics

A structure describing general information about a display, such as its size, density, and font scaling.

EventLog

Access to the system diagnostic event record.

EventLog.Event

A previously logged event read from the logs.

EventLogTags
EventLogTags.Description
FloatMath

Math routines similar to those found in Math.

FloatProperty
Half
IntProperty
IPrinterExtensions
JsonReader

Reads a JSON () encoded value as a stream of tokens.

JsonToken

A structure, name or value type in a JSON-encoded string.

JsonWriter

Writes a JSON () encoded value to a stream, one token at a time.

LayoutDirection

A class for defining layout directions.

Log

API for sending log output.

LogPrinter

Implementation of a IPrinter that sends its output to the system log.

LongSparseArray

SparseArray mapping longs to Objects.

LruCache

A cache that holds strong references to a limited number of values.

MalformedJsonException

Thrown when a reader encounters malformed JSON.

MonthDisplayHelper

Helps answer common questions that come up when displaying a month in a 6 row calendar grid format.

MutableBoolean
MutableByte
MutableChar
MutableDouble
MutableFloat
MutableInt
MutableLong
MutableShort
NoSuchPropertyException

Thrown when code requests a Property on a class that does not expose the appropriate method or field.

Pair

Container to ease passing around a tuple of two objects.

Patterns

Commonly used regular expression patterns.

PrintStreamPrinter

Implementation of a IPrinter that sends its output to a PrintStream.

PrintWriterPrinter

Implementation of a IPrinter that sends its output to a PrintWriter.

Property

mutable value that is held in a host object. The Property's Android.Util.Property.set(T,V) or methods can be implemented in terms of the private fields of the host object, or via "setter" and "getter" methods or by some other mechanism, as appropriate.

Range

Immutable class for describing the range of two numeric values.

Rational
Size

Immutable class for describing width and height dimensions in pixels.

SizeF

Immutable class for describing width and height dimensions in some arbitrary unit.

SparseArray

SparseArrays map integers to Objects.

SparseArray<E>

SparseArrays map integers to Objects.

SparseBooleanArray

SparseBooleanArrays map integers to booleans.

SparseIntArray

SparseIntArrays map integers to integers.

SparseLongArray

SparseLongArrays map integers to longs.

StateSet

State sets are arrays of positive ints where each element represents the state of a View (e.g. focused, selected, visible, etc.

StringBuilderPrinter

Implementation of a IPrinter that sends its output to a StringBuilder.

TimeFormatException
TimeUtils

A class containing utility methods related to time zones.

TimingLogger

A utility class to help log timings splits throughout a method call.

TypedValue

Container for a dynamically typed data value.

Xml

XML utility methods.

Xml.Encoding

Supported character encodings.

Interfaces

IAttributeSet

A collection of attributes, as found associated with a tag in an XML document.

IPrinter

Simple interface for printing text, allowing redirection to various targets.

Enums

Base64Flags

Enumerates values returned by several types and taken as a parameter of several types.

ComplexType

Enumerates values returned by several methods of ComplexType.

ComplexUnitType

Enumerates values returned by several methods of ComplexUnitType and taken as a parameter of the F:Android.Util.TypedValue.ApplyDimension, and F:Android.Widget.TextView.SetTextSize members.

DataType

Enumerates values returned by several types and taken as a parameter of the CoerceToString() member.

DisplayMetricsDensity

Enumerates values returned by several types.

LayoutDirections

Enumerates values returned by several types.

LogPriority

Enumerates values returned by several methods of LogPriority and taken as a parameter of several types.