Szerkesztés

Megosztás a következőn keresztül:


NSFileHandle.Notifications Class

Definition

Notification posted by the NSFileHandle class.

public static class NSFileHandle.Notifications
type NSFileHandle.Notifications = class
Inheritance
NSFileHandle.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveConnectionAccepted(EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

Strongly typed notification for the ConnectionAcceptedNotification constant.

ObserveConnectionAccepted(NSObject, EventHandler<NSFileHandleConnectionAcceptedEventArgs>)

Strongly typed notification for the ConnectionAcceptedNotification constant.

ObserveDataAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DataAvailableNotification constant.

ObserveDataAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DataAvailableNotification constant.

ObserveReadCompletion(EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadCompletionNotification constant.

ObserveReadCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadCompletionNotification constant.

ObserveReadToEndOfFileCompletion(EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadToEndOfFileCompletionNotification constant.

ObserveReadToEndOfFileCompletion(NSObject, EventHandler<NSFileHandleReadEventArgs>)

Strongly typed notification for the ReadToEndOfFileCompletionNotification constant.

Applies to