Enumeration Case 列挙ケース

URLSessionTask.State.completed

The task has completed (without being canceled), and the task's delegate receives no further callbacks. タスクは、完了しました(取り消されることなしに)、そしてタスクのもつ委任先は少しもこれより先のコールパックを受け取りません。

Declaration 宣言

case completed = 3

Discussion 議論

If the task completed successfully, the task’s error property is nil. Otherwise, it provides an error object that tells what went wrong. A task in this state is not subject to timeouts. タスクがうまく完了したならば、タスクのもつerrorプロパティはnilです。そうでなければ、それは何がうまくいかなかったか伝えるエラーオブジェクトを提供します。この状態におけるタスクは、タイムアウトの影響を受けません。

See Also 参照

Task States タスク状態