UIDevice Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Foundation.Register("UIDevice", true)]
public class UIDevice : Foundation.NSObject
[<Foundation.Register("UIDevice", true)>]
type UIDevice = class
inherit NSObject
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| UIDevice() |
Creates a new UIDevice with default values. |
| UIDevice(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| UIDevice(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| BatteryLevel | |
| BatteryLevelDidChangeNotification |
Notification constant for BatteryLevelDidChange |
| BatteryMonitoringEnabled |
Controls battery monitoring. When set, you can receive battery level change events. |
| BatteryState | |
| BatteryStateDidChangeNotification |
Notification constant for BatteryStateDidChange |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| CurrentDevice | |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| GeneratesDeviceOrientationNotifications |
Determines whether device orientation notifications are posted. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IdentifierForVendor | |
| IsDirectBinding | (Inherited from NSObject) |
| IsMultitaskingSupported |
Determines whether this version of iOS supports multitasking. |
| IsProxy | (Inherited from NSObject) |
| LocalizedModel | |
| Model | |
| Name | |
| Orientation | |
| OrientationDidChangeNotification |
Notification constant for OrientationDidChange |
| ProximityMonitoringEnabled |
Whether the proximity sensor is available and enabled. |
| ProximityState | |
| ProximityStateDidChangeNotification |
Notification constant for ProximityStateDidChange |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| SystemName | |
| SystemVersion | |
| UserInterfaceIdiom | |
| Zone | (Inherited from NSObject) |