共用方式為


NSFileHandle.Notifications 類別

定義

類別所張貼的 NSFileHandle 通知。

public static class NSFileHandle.Notifications
type NSFileHandle.Notifications = class
繼承
NSFileHandle.Notifications

備註

這是靜態類別,其中包含各種協助程式方法,可讓開發人員觀察張貼在 iOS 通知中樞的事件 (NSNotificationCenter) 。

這個類別中定義的方法會在事件後叫用提供的 方法或 Lambda,其中包含 NSNotificationEventArgs 通知引數的強型別屬性。

方法

ObserveConnectionAccepted(EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

常數的 ConnectionAcceptedNotification 強型別通知。

ObserveConnectionAccepted(NSObject, EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

常數的 ConnectionAcceptedNotification 強型別通知。

ObserveDataAvailable(EventHandler<NSNotificationEventArgs>)

常數的 DataAvailableNotification 強型別通知。

ObserveDataAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

常數的 DataAvailableNotification 強型別通知。

ObserveReadCompletion(EventHandler<NSFileHandleReadEventArgs>)

常數的 ReadCompletionNotification 強型別通知。

ObserveReadCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

常數的 ReadCompletionNotification 強型別通知。

ObserveReadToEndOfFileCompletion(EventHandler<NSFileHandleReadEventArgs>)

常數的 ReadToEndOfFileCompletionNotification 強型別通知。

ObserveReadToEndOfFileCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

常數的 ReadToEndOfFileCompletionNotification 強型別通知。

適用於