Enumeration Case 列挙ケース

DistributedNotificationCenter.SuspensionBehavior.deliverImmediately

Declaration 宣言

case deliverImmediately = 4

Discussion 議論

The server delivers notifications matching this registration irrespective of whether suspended with an argument of true has been called. When a notification with this suspension behavior is matched, it has the effect of first flushing any queued notifications. The effect is as if suspended with an argument of false were first called if the application is suspended, followed by the notification in question being delivered, followed by a transition back to the previous suspended or unsuspended state. サーバはこの登録に合致する通知を配達します、suspendedが引数のtrueとともに呼び出されたかどうかに関わりなく。この待機挙動を持つ通知が合致する場合、それは待ち行列に入れられたあらゆる通知をまず一掃する効果を持ちます。効果は、まるでsuspendedが、アプリケーションが待機させられるならば、引数のfalseとともに最初に呼び出された、それに続けて当該の通知が配達されることになり、続けて直前の待機または未待機状態へ推移するかのようです。