Edit

Share via


NSInputStream.SetCFClientFlags(CFStreamEventType, IntPtr, IntPtr) Method

Definition

Adds a client for the stream. This method is not supposed to be called by managed code, it will be called by consumers of the stream. When overriding it make sure to call the base implementation.

[Foundation.Export("_setCFClientFlags:callback:context:")]
protected virtual bool SetCFClientFlags (CoreFoundation.CFStreamEventType inFlags, IntPtr inCallback, IntPtr inContextPtr);
abstract member SetCFClientFlags : CoreFoundation.CFStreamEventType * nativeint * nativeint -> bool
override this.SetCFClientFlags : CoreFoundation.CFStreamEventType * nativeint * nativeint -> bool

Parameters

inFlags
CFStreamEventType

Flags.

inCallback
IntPtr

nativeint

The callbacks to call when events occur.

inContextPtr
IntPtr

nativeint

User-defined data for the callback.

Returns

Attributes

Applies to