MediaPipeTasksText Framework Reference

MPPTasksErrorCode

enum MPPTasksErrorCode : NSUInteger {}

@enum MPPTasksErrorCode This enum specifies error codes for errors thrown by iOS MediaPipe Task Library.

  • Indicates the operation was cancelled, typically by the caller.

    Declaration

    Objective-C

    MPPTasksErrorCodeCancelledError = 1
  • Indicates an unknown error occurred.

    Declaration

    Objective-C

    MPPTasksErrorCodeUnknownError = 2
  • Indicates the caller specified an invalid argument, such as a malformed filename.

    Declaration

    Objective-C

    MPPTasksErrorCodeInvalidArgumentError = 3
  • Indicates a deadline expired before the operation could complete.

    Declaration

    Objective-C

    MPPTasksErrorCodeDeadlineExceededError = 4
  • Indicates some requested entity (such as a file or directory) was not found.

    Declaration

    Objective-C

    MPPTasksErrorCodeNotFoundError = 5
  • Indicates that the entity a caller attempted to create (such as a file or directory) is already present.

    Declaration

    Objective-C

    MPPTasksErrorCodeAlreadyExistsError = 6
  • Indicates that the caller does not have permission to execute the specified operation.

    Declaration

    Objective-C

    MPPTasksErrorCodePermissionDeniedError = 7
  • Indicates some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space.

    Declaration

    Objective-C

    MPPTasksErrorCodeResourceExhaustedError = 8
  • Indicates that the operation was rejected because the system is not in a state required for the operation’s execution. For example, a directory to be deleted may be non-empty, an “rmdir” operation is applied to a non-directory, etc.

    Declaration

    Objective-C

    MPPTasksErrorCodeFailedPreconditionError = 9
  • Indicates the operation was aborted, typically due to a concurrency issue such as a sequencer check failure or a failed transaction.

    Declaration

    Objective-C

    MPPTasksErrorCodeAbortedError = 10
  • Indicates the operation was attempted past the valid range, such as seeking or reading past an end-of-file.

    Declaration

    Objective-C

    MPPTasksErrorCodeOutOfRangeError = 11
  • Indicates the operation is not implemented or supported in this service. In this case, the operation should not be re-attempted.

    Declaration

    Objective-C

    MPPTasksErrorCodeUnimplementedError = 12
  • Indicates an internal error has occurred and some invariants expected by the underlying system have not been satisfied. This error code is reserved for serious errors.

    Declaration

    Objective-C

    MPPTasksErrorCodeInternalError = 13
  • Indicates the service is currently unavailable and that this is most likely a transient condition.

    Declaration

    Objective-C

    MPPTasksErrorCodeUnavailableError = 14
  • Indicates that unrecoverable data loss or corruption has occurred.

    Declaration

    Objective-C

    MPPTasksErrorCodeDataLossError = 15
  • Indicates that the request does not have valid authentication credentials for the operation.

    Declaration

    Objective-C

    MPPTasksErrorCodeUnauthenticatedError = 16
  • Indicates that audio record permissions were denied by the user.

    Declaration

    Objective-C

    MPPTasksErrorCodeAudioRecordPermissionDeniedError = 17
  • Audio record permissions cannot be determined. If this error is returned by Audio, the caller has to acquire permissions using AVFoundation.

    Declaration

    Objective-C

    MPPTasksErrorCodeAudioRecordPermissionUndeterminedError = 18
  • Indicates that AudioRecord is waiting for new mic input.

    Declaration

    Objective-C

    MPPTasksErrorCodeAudioRecordWaitingForNewMicInputError = 19
  • The first error code in MPPTasksErrorCode (for internal use only).

    Declaration

    Objective-C

    MPPTasksErrorCodeFirst = MPPTasksErrorCodeCancelledError
  • The last error code in MPPTasksErrorCode (for internal use only).

    Declaration