Click or drag to resize
CfxWriteHandler Class

[This is preliminary documentation and is subject to change.]

Structure the client can implement to provide a custom stream writer. The functions of this structure may be called on any thread.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxBase
      ChromiumCfxClientBase
        ChromiumCfxWriteHandler

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxWriteHandler : CfxClientBase

The CfxWriteHandler type exposes the following members.

Constructors
  NameDescription
Public methodCfxWriteHandler
Initializes a new instance of the CfxWriteHandler class
Top
Properties
  NameDescription
Public propertyCallbacksDisabled
When true, all CEF callback events are disabled for this handler. Incoming callbacks will return default values to CEF.
(Inherited from CfxClientBase.)
Public propertyNativePtr
Provides access to the underlying native cef struct. This is a refcounted client struct derived from cef_base_t. Add a ref in order to keep it alive when this managed object go out of scope.
(Inherited from CfxClientBase.)
Top
Events
  NameDescription
Public eventFlush
Flush the stream.
Public eventMayBlock
Return true (1) if this handler performs work like accessing the file system which may block. Used as a hint for determining the thread to access the handler from.
Public eventSeek
Seek to the specified offset position. |Whence| may be any one of SEEK_CUR, SEEK_END or SEEK_SET. Return zero on success and non-zero on failure.
Public eventTell
Return the current offset position.
Public eventWrite
Write raw binary data.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_stream_capi.h.
See Also