Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.
@Retention(CLASS) @Target({TYPE})
public @interface IosPrivacy
iOS Info.plist privacy usage descriptions. Set the one for every protected
resource your app touches: the build server accepts an app without them, and
the App Store rejects it.
Place this on your application’s main class – the class named by
codename1.mainName. An attribute you do not set is not written at all, so
the build server’s own default applies. The default clause below each
attribute names a constant that says nothing – see HintUnset – and this
package deliberately does not record what the server would do instead,
because that is the server’s to change.
The platform is stated once on the annotation, not on every attribute. An attribute repeats it only to disagree with it.
Methods
Method details
bluetoothAlwaysUsageDescription
public abstract String bluetoothAlwaysUsageDescription() default ""com.codename1.bluetooth; set it to say something more specific than the
default.bluetoothPeripheralUsageDescription
public abstract String bluetoothPeripheralUsageDescription() default ""calendarsFullAccessUsageDescription
public abstract String calendarsFullAccessUsageDescription() default ""NSCalendarsFullAccessUsageDescription key in Info.plist.
The App Store rejects an app that touches this resource without one.calendarsUsageDescription
public abstract String calendarsUsageDescription() default ""NSCalendarsUsageDescription key in Info.plist. The App Store
rejects an app that touches this resource without one.calendarsWriteOnlyAccessUsageDescription
public abstract String calendarsWriteOnlyAccessUsageDescription() default ""NSCalendarsWriteOnlyAccessUsageDescription key in
Info.plist. The App Store rejects an app that touches this resource
without one.cameraUsageDescription
public abstract String cameraUsageDescription() default ""NSCameraUsageDescription key in Info.plist. The App Store rejects an
app that touches this resource without one.healthUpdateUsageDescription
public abstract String healthUpdateUsageDescription() default ""NSHealthUpdateUsageDescription key in Info.plist. The App
Store rejects an app that touches this resource without one.localNetworkUsageDescription
public abstract String localNetworkUsageDescription() default ""NSLocalNetworkUsageDescription key in Info.plist. The App
Store rejects an app that touches this resource without one.locationAlwaysAndWhenInUseUsageDescription
public abstract String locationAlwaysAndWhenInUseUsageDescription() default ""NSLocationAlwaysAndWhenInUseUsageDescription key
in Info.plist. The App Store rejects an app that touches this resource
without one.locationAlwaysUsageDescription
public abstract String locationAlwaysUsageDescription() default ""NSLocationAlwaysUsageDescription key in Info.plist. The App
Store rejects an app that touches this resource without one.locationWhenInUseUsageDescription
public abstract String locationWhenInUseUsageDescription() default ""NSLocationWhenInUseUsageDescription key in Info.plist. The
App Store rejects an app that touches this resource without one.microphoneUsageDescription
public abstract String microphoneUsageDescription() default ""NSMicrophoneUsageDescription key in Info.plist. The App Store
rejects an app that touches this resource without one.nearbyInteractionAllowOnceUsageDescription
public abstract String nearbyInteractionAllowOnceUsageDescription() default ""nearbyInteractionUsageDescription
public abstract String nearbyInteractionUsageDescription() default ""remindersFullAccessUsageDescription
public abstract String remindersFullAccessUsageDescription() default ""NSRemindersFullAccessUsageDescription key in Info.plist.
The App Store rejects an app that touches this resource without one.remindersUsageDescription
public abstract String remindersUsageDescription() default ""NSRemindersUsageDescription key in Info.plist. The App Store
rejects an app that touches this resource without one.speechRecognitionUsageDescription
public abstract String speechRecognitionUsageDescription() default ""