UIKit.UIDevice Members

The members of UIKit.UIDevice are listed below.

See Also: Inherited members from Foundation.NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
BatteryLevelfloat. Battery level indicator.
[read-only]
static
BatteryLevelDidChangeNotificationFoundation.NSString. Notification constant for BatteryLevelDidChange
BatteryMonitoringEnabledbool. Controls battery monitoring. When set, you can receive battery level change events.
[read-only]
BatteryStateUIDeviceBatteryState. Current battery state if monitoring is enabled.
[read-only]
static
BatteryStateDidChangeNotificationFoundation.NSString. Notification constant for BatteryStateDidChange
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
static
CurrentDeviceUIDevice. Returns the UIDevice singleton instance.
[read-only]
GeneratesDeviceOrientationNotificationsbool. Determines whether device orientation notifications are posted.
[read-only]
IdentifierForVendorFoundation.NSUuid. An identifier, unique to the device, based on the App Store vendor or, if not from the App Store, the bundle identifier.
[read-only]
IsMultitaskingSupportedbool. Determines whether this version of iOS supports multitasking.
[read-only]
LocalizedModelstring. A localized string describing the current iOS device.
[read-only]
Modelstring. The device model, in English.
[read-only]
Namestring. The device name set by the user.
[read-only]
OrientationUIDeviceOrientation. Current device orientation.
[read-only]
static
OrientationDidChangeNotificationFoundation.NSString. Notification constant for OrientationDidChange
ProximityMonitoringEnabledbool. Whether the proximity sensor is available and enabled.
[read-only]
ProximityStatebool. Determines whether the device is close to the user.
[read-only]
static
ProximityStateDidChangeNotificationFoundation.NSString. Notification constant for ProximityStateDidChange
[read-only]
SystemNamestring. Operating system name on the device.
[read-only]
SystemVersionstring. Operating system version.
[read-only]
UserInterfaceIdiomUIUserInterfaceIdiom. Which kind of device the application is running (iPhone or iPad).

Public Methods

BeginGeneratingDeviceOrientationNotifications()
Initiates posting device orientation notification events.
CheckSystemVersion(int, int) : bool
Whether the system version is greater than or equal to the specified major and minor values.
EndGeneratingDeviceOrientationNotifications()
Stops posting device orientation notification events.
PlayInputClick()
Plays the system "click" event in response to user taps.

Protected Methods

override
Dispose(bool)
Releases the resources used by the UIDevice object.