AppStoreState enum

This package's vocabulary for a version's appStoreState.

A version's, and not an appInfos record's — the same spellings govern two different rules. A version in WAITING_FOR_REVIEW is with Apple and a write against it is rightly refused; the appInfos record beside it still accepts a PATCH, measured against a live account. This package keeps two sets for that reason (editableVersionStates and editableAppInfoStates, which differ by exactly that state), and a consumer meeting these words on an app info will reasonably reach for this enum and get the version's rule. It is not the app info's.

Incomplete on purpose, and safely so. These are the states this repository has handled or observed; Apple's vocabulary is longer and moves. Anything else is unknown, with Apple's word in AppStoreVersionEntry.appStoreStateRaw — and the question most callers actually have is answered by AppStoreVersionEntry.editable instead.

Inheritance
Available extensions
Annotations
  • @JsonEnum.new(valueField: 'wire')

Values

prepareForSubmission → const AppStoreState
const AppStoreState('prepareForSubmission', 'PREPARE_FOR_SUBMISSION')
readyForReview → const AppStoreState
const AppStoreState('readyForReview', 'READY_FOR_REVIEW')
waitingForReview → const AppStoreState
const AppStoreState('waitingForReview', 'WAITING_FOR_REVIEW')
inReview → const AppStoreState
const AppStoreState('inReview', 'IN_REVIEW')
pendingAppleRelease → const AppStoreState
const AppStoreState('pendingAppleRelease', 'PENDING_APPLE_RELEASE')
processingForAppStore → const AppStoreState
const AppStoreState('processingForAppStore', 'PROCESSING_FOR_APP_STORE')
replacedWithNewVersion → const AppStoreState
const AppStoreState('replacedWithNewVersion', 'REPLACED_WITH_NEW_VERSION')
accepted → const AppStoreState
const AppStoreState('accepted', 'ACCEPTED')
rejected → const AppStoreState
const AppStoreState('rejected', 'REJECTED')
developerRejected → const AppStoreState
const AppStoreState('developerRejected', 'DEVELOPER_REJECTED')
metadataRejected → const AppStoreState
const AppStoreState('metadataRejected', 'METADATA_REJECTED')
invalidBinary → const AppStoreState
const AppStoreState('invalidBinary', 'INVALID_BINARY')
pendingDeveloperRelease → const AppStoreState
const AppStoreState('pendingDeveloperRelease', 'PENDING_DEVELOPER_RELEASE')
preorderReadyForSale → const AppStoreState
const AppStoreState('preorderReadyForSale', 'PREORDER_READY_FOR_SALE')
readyForSale → const AppStoreState
const AppStoreState('readyForSale', 'READY_FOR_SALE')
developerRemovedFromSale → const AppStoreState
const AppStoreState('developerRemovedFromSale', 'DEVELOPER_REMOVED_FROM_SALE')
removedFromSale → const AppStoreState
const AppStoreState('removedFromSale', 'REMOVED_FROM_SALE')
unknown → const AppStoreState

Apple sent a state this version does not name. See AppStoreVersionEntry.appStoreStateRaw.

const AppStoreState('unknown', null)

Properties

appleValue String?
Apple's spelling, or null for unknown.
final
hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wire String
This package's spelling. See ProcessingState.wire.
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

Static Methods

read(String? appleValue) AppStoreState?
See ProcessingState.read.

Constants

values → const List<AppStoreState>
A constant List of the values in this enum, in order of their declaration.