One Logo Pool Ball
CoreML · IOS API REFERENCE

MLTask

class · iOS 13.0+ · SDK 27.1

class MLTask

Members (5)

method · iOS 13.0+

cancel

TypeScript
cancel(): void
Swift declaration
func cancel()
method · iOS 13.0+

resume

TypeScript
resume(): void
Swift declaration
func resume()
get · iOS 13.0+

error

TypeScript
get error(): (NativeError) | null
Swift declaration
var error: (any Error)? { get }
get · iOS 13.0+

state

TypeScript
get state(): MLTaskState
Swift declaration
var state: MLTaskState { get }
get · iOS 13.0+

taskIdentifier

TypeScript
get taskIdentifier(): string
Swift declaration
var taskIdentifier: String { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MLTask.init()

inherited init: clang: 'init' is unavailable

All CoreML types →