RequiredReasonApi class
One of Apple's "required reason API" categories. Apps whose own code calls an API in a category must declare it, with an approved reason, in their PrivacyInfo.xcprivacy — otherwise App Store Connect rejects the upload (ITMS-91053).
Constructors
Properties
- category → String
-
The
NSPrivacyAccessedAPITypevalue, e.g.NSPrivacyAccessedAPICategoryUserDefaults.final - displayName → String
-
Human-readable category name for reports.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pattern → RegExp
-
Matches a call site in Swift/Objective-C source.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
validReasons
→ Set<
String> -
Reason codes Apple accepts for this category.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited