Click or drag to resize
CfxReadHandler Class

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

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

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

The CfxReadHandler type exposes the following members.

Constructors
  NameDescription
Public methodCfxReadHandler
Initializes a new instance of the CfxReadHandler 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 eventEof
Return non-zero if at end of file.
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 eventRead
Read raw binary data.
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.
Top
Remarks
See also the original CEF documentation in cef/include/capi/cef_stream_capi.h.
See Also