[−][src]Enum creator_tools::types::DeviceCapabilities
Device Capabilities.
Variants
The presence of accelerometers. Use the Core Motion framework to receive accelerometer events. You don’t need to include this value if your app detects only device orientation changes. Available in iOS 3.0 and later.
Support for ARKit. Available in iOS 11.0 and later.
Compilation for the armv7 instruction set, or as a 32/64-bit universal app. Available in iOS 3.1 and later.
Compilation for the arm64 instruction set. Include this key for all 64-bit apps and embedded bundles, like extensions and frameworks. Available in iOS 8.0 and later.
Autofocus capabilities in the device’s still camera. You might need to include this value if your app supports macro photography or requires sharper images to perform certain image-processing tasks. Available in iOS 3.0 and later.
Bluetooth low-energy hardware. Available in iOS 5.0 and later.
A camera flash. Use the cameraFlashMode property of a UIImagePickerController instance to control the camera’s flash. Available in iOS 3.0 and later.
A forward-facing camera. Use the cameraDevice property of a UIImagePickerController instance to select the device’s camera. Available in iOS 3.0 and later.
Access to the Game Center service. Enable the Game Center capability in Xcode to add this value to your app. Available in iOS 4.1 and later.
GPS (or AGPS) hardware for tracking locations. If you include this value, you should also include the location-services value. Require GPS only if your app needs location data more accurate than the cellular or Wi-Fi radios provide. Available in iOS 3.0 and later.
A gyroscope. Use the Core Motion framework to retrieve information from gyroscope hardware. Available in iOS 3.0 and later.
Support for HealthKit. Available in iOS 8.0 and later.
Performance and capabilities of the A12 Bionic and later chips. Available in iOS 12.0 and later.
Access to the device’s current location using the Core Location framework. This value refers to the general location services feature. If you specifically need GPS-level accuracy, also include the gps feature. Available in iOS 3.0 and later.
Magnetometer hardware. Apps use this hardware to receive heading-related events through the Core Location framework. Available in iOS 3.0 and later.
The built-in microphone or accessories that provide a microphone. Available in iOS 3.0 and later.
Near Field Communication (NFC) tag detection and access to messages that contain NFC Data Exchange Format data. Use the Core NFC framework to detect and read NFC tags. Available in iOS 11.0 and later.
The OpenGL ES 1.1 interface. Available in iOS 3.0 and later.
The OpenGL ES 2.0 interface. Available in iOS 3.0 and later.
The OpenGL ES 3.0 interface. Available in iOS 7.0 and later.
Peer-to-peer connectivity over a Bluetooth network. Available in iOS 3.1 and later.
The Messages app. You might require this feature if your app opens URLs with the sms scheme. Available in iOS 3.0 and later.
A camera on the device. Use the UIImagePickerController interface to capture images from the device’s still camera. Available in iOS 3.0 and later.
The Phone app. You might require this feature if your app opens URLs with the tel scheme. Available in iOS 3.0 and later.
A camera with video capabilities on the device. Use the UIImagePickerController interface to capture video from the device’s camera. Available in iOS 3.0 and later.
Networking features related to Wi-Fi access. Available in iOS 3.0 and later.
Trait Implementations
impl Clone for DeviceCapabilities
[src]
fn clone(&self) -> DeviceCapabilities
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeviceCapabilities
[src]
impl<'de> Deserialize<'de> for DeviceCapabilities
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<DeviceCapabilities> for DeviceCapabilities
[src]
fn eq(&self, other: &DeviceCapabilities) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for DeviceCapabilities
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for DeviceCapabilities
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeviceCapabilities
[src]
impl Send for DeviceCapabilities
[src]
impl Sync for DeviceCapabilities
[src]
impl Unpin for DeviceCapabilities
[src]
impl UnwindSafe for DeviceCapabilities
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,