cohtml::Net::View

Partial class view which holds additional TriggerEvent methods. Other partial class cohtml.Net.View will be generated from SWIG generation.

Inherits from SystemIDisposable

Public Functions

Name
virtual voidTriggerEvent< T1 >(string name, T1 argument1)
Trigger event in view
virtual voidTriggerEvent< T1, T2 >(string name, T1 argument1, T2 argument2)
virtual voidTriggerEvent< T1, T2, T3 >(string name, T1 argument1, T2 argument2, T3 argument3)
virtual voidTriggerEvent< T1, T2, T3, T4 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4)
virtual voidTriggerEvent< T1, T2, T3, T4, T5 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5)
virtual voidTriggerEvent< T1, T2, T3, T4, T5, T6 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6)
virtual voidTriggerEvent< T1, T2, T3, T4, T5, T6, T7 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7)
virtual voidTriggerEvent< T1, T2, T3, T4, T5, T6, T7, T8 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6, T7 argument7, T8 argument8)
virtual voidDispose()
BoundEventHandleBindCall(string name, global::System.Delegate handler)
BoundEventHandleRegisterForEvent(string name, global::System.Delegate handler)
voidUnregisterFromEvent(BoundEventHandle handle)
voidUnbindCall(BoundEventHandle handle)
voidDestroy(uint systemId)
Мarks the native view for deletion, instead of deleting it on its own. If ViewRenderer has already been deleted, the actual deletion of the Native View object will occur on the next update of CohtmlUISystem. This method is deprecated, please use MarkForDestroy instead.
voidMarkForDestroy(uint systemId)
Мarks the native view for deletion. Before this method must send a Plugin Render event request to destroy the View Renderer. You can use cohtml.CohtmlView.MarkForDestroyViewRenderer method for reference. Note that this operation will happen on the render thread. After the ViewRenderer is successfully deleted, the actual deletion of the Native View object will occur on the next update of CohtmlUISystem. systemIdID of the system that creates this Native View.
virtual voidLoadURL(string url)
virtual voidReload()
virtual voidUnloadDocument()
virtual voidClearNavigationHistory()
virtual uintGetId()
virtual intGetTaskFamilyId()
virtual voidResize(uint width, uint height)
virtual voidSetUserBackgroundOffset(float x, float y)
virtual voidSetResolutionForRendering(uint width, uint height)
virtual uintGetWidth()
virtual uintGetHeight()
virtual voidOnListenerLost()
virtual voidEnableRendering(bool value)
virtual voidEnableImmediateLayout(bool isEnabled)
virtual boolIsImmediateLayoutEnabled()
virtual voidContinuousRepaint(bool enable)
virtual voidEnableUISurfacePartitioning(bool enable)
virtual voidShowPaintRectangles(bool show)
virtual voidShowElementAABBs(bool show)
virtual voidEmitRenderingMetadata(bool emit)
virtual boolSetAdditionalFontFallbacks(string fontFamilies)
virtual DebugDumpDebugDumpDOMTree(uint flags)
virtual DebugDumpDebugDumpStackingContextTree()
virtual boolIMESetComposition(string composition, uint targetStart, uint targetEnd)
virtual boolIMEConfirmComposition(string composition)
virtual boolIMECancelComposition()
virtual floatGetStartPanThreshold()
virtual voidSetStartPanThreshold(float value)
virtual voidSetUserAgent(string userAgent)
virtual ImagesListGetUsedImagesList(Options options)
virtual GPUMemoryInfoGetGPUMemoryStats()
virtual voidResetGPUMemoryTrackerPeaks()
virtual voidEndCaptureDebugFrame()
virtual voidEndCaptureBackendDebugFrame()
virtual voidQueueSetCacheCountSize(InternalCaches cache, uint capacity)
virtual voidQueueSetCacheBytesSize(InternalCaches cache, uint capacity)
virtual voidQueueClearCaches(uint caches)
virtual voidUnregisterFromEvent(global::System.IntPtr handle)
virtual voidUnbindCall(global::System.IntPtr handle)
virtual voidUnbindObject(global::System.IntPtr arg0)
virtual voidDestroyExposedArray(global::System.IntPtr array)
virtual boolIsReadyForBindings()
virtual voidExecuteScript(string script)
virtual voidAddInitialScript(string script)
virtual voidResetInitialScripts()
virtual voidTerminateScriptExecution()
virtual global::System.IntPtrGetBinder()
virtual boolSetCustomMediaFeature(string name, string value)
virtual voidResetCustomMediaFeatures()
virtual voidSynchronizeModels()
virtual global::System.IntPtrReservedMethod(global::System.IntPtr command, global::System.IntPtr data)
virtual voidTriggerEvent(string name)
voidTouchEvent(TouchEventData [] touches, uint count)
voidKeyEvent(KeyEventData arg0)
voidMouseEvent(MouseEventData arg0)
voidGestureEvent(GestureEventData arg0)
uintGetCacheCountFilled(InternalCaches cache)
uintGetCacheBytesStatsFilled(InternalCaches cache)
voidAdvance(uint systemId, double time)
voidMarkViewForDestroyInternal(uint systemId)

Protected Attributes

Name
boolswigCMemOwn

Public Functions Documentation

function TriggerEvent< T1 >

virtual void TriggerEvent< T1 >(
    string name,
    T1 argument1
)

Trigger event in view

Parameters:

  • name name of the event
  • argument1 argument for the event

Template Parameters:

  • T1 Type for the event argument

function TriggerEvent< T1, T2 >

virtual void TriggerEvent< T1, T2 >(
    string name,
    T1 argument1,
    T2 argument2
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument

function TriggerEvent< T1, T2, T3 >

virtual void TriggerEvent< T1, T2, T3 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument

function TriggerEvent< T1, T2, T3, T4 >

virtual void TriggerEvent< T1, T2, T3, T4 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3,
    T4 argument4
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event
  • argument4 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument
  • T4 Type for the event argument

function TriggerEvent< T1, T2, T3, T4, T5 >

virtual void TriggerEvent< T1, T2, T3, T4, T5 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3,
    T4 argument4,
    T5 argument5
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event
  • argument4 argument for the event
  • argument5 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument
  • T4 Type for the event argument
  • T5 Type for the event argument

function TriggerEvent< T1, T2, T3, T4, T5, T6 >

virtual void TriggerEvent< T1, T2, T3, T4, T5, T6 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3,
    T4 argument4,
    T5 argument5,
    T6 argument6
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event
  • argument4 argument for the event
  • argument5 argument for the event
  • argument6 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument
  • T4 Type for the event argument
  • T5 Type for the event argument
  • T6 Type for the event argument

function TriggerEvent< T1, T2, T3, T4, T5, T6, T7 >

virtual void TriggerEvent< T1, T2, T3, T4, T5, T6, T7 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3,
    T4 argument4,
    T5 argument5,
    T6 argument6,
    T7 argument7
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event
  • argument4 argument for the event
  • argument5 argument for the event
  • argument6 argument for the event
  • argument7 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument
  • T4 Type for the event argument
  • T5 Type for the event argument
  • T6 Type for the event argument
  • T7 Type for the event argument

function TriggerEvent< T1, T2, T3, T4, T5, T6, T7, T8 >

virtual void TriggerEvent< T1, T2, T3, T4, T5, T6, T7, T8 >(
    string name,
    T1 argument1,
    T2 argument2,
    T3 argument3,
    T4 argument4,
    T5 argument5,
    T6 argument6,
    T7 argument7,
    T8 argument8
)

Parameters:

  • name name of the event
  • argument1 argument for the event
  • argument2 argument for the event
  • argument3 argument for the event
  • argument4 argument for the event
  • argument5 argument for the event
  • argument6 argument for the event
  • argument7 argument for the event
  • argument8 argument for the event

Template Parameters:

  • T1 Type for the event argument
  • T2 Type for the event argument
  • T3 Type for the event argument
  • T4 Type for the event argument
  • T5 Type for the event argument
  • T6 Type for the event argument
  • T7 Type for the event argument
  • T8 Type for the event argument

function Dispose

virtual void Dispose()

function BindCall

BoundEventHandle BindCall(
    string name,
    global::System.Delegate handler
)

function RegisterForEvent

BoundEventHandle RegisterForEvent(
    string name,
    global::System.Delegate handler
)

function UnregisterFromEvent

void UnregisterFromEvent(
    BoundEventHandle handle
)

function UnbindCall

void UnbindCall(
    BoundEventHandle handle
)

function Destroy

void Destroy(
    uint systemId
)

Мarks the native view for deletion, instead of deleting it on its own. If ViewRenderer has already been deleted, the actual deletion of the Native View object will occur on the next update of CohtmlUISystem. This method is deprecated, please use MarkForDestroy instead.

function MarkForDestroy

void MarkForDestroy(
    uint systemId
)

Мarks the native view for deletion. Before this method must send a Plugin Render event request to destroy the View Renderer. You can use cohtml.CohtmlView.MarkForDestroyViewRenderer method for reference. Note that this operation will happen on the render thread. After the ViewRenderer is successfully deleted, the actual deletion of the Native View object will occur on the next update of CohtmlUISystem. systemIdID of the system that creates this Native View.

function LoadURL

virtual void LoadURL(
    string url
)

function Reload

virtual void Reload()

function UnloadDocument

virtual void UnloadDocument()

function ClearNavigationHistory

virtual void ClearNavigationHistory()

function GetId

virtual uint GetId()

function GetTaskFamilyId

virtual int GetTaskFamilyId()

function Resize

virtual void Resize(
    uint width,
    uint height
)

function SetUserBackgroundOffset

virtual void SetUserBackgroundOffset(
    float x,
    float y
)

function SetResolutionForRendering

virtual void SetResolutionForRendering(
    uint width,
    uint height
)

function GetWidth

virtual uint GetWidth()

function GetHeight

virtual uint GetHeight()

function OnListenerLost

virtual void OnListenerLost()

function EnableRendering

virtual void EnableRendering(
    bool value
)

function EnableImmediateLayout

virtual void EnableImmediateLayout(
    bool isEnabled
)

function IsImmediateLayoutEnabled

virtual bool IsImmediateLayoutEnabled()

function ContinuousRepaint

virtual void ContinuousRepaint(
    bool enable
)

function EnableUISurfacePartitioning

virtual void EnableUISurfacePartitioning(
    bool enable
)

function ShowPaintRectangles

virtual void ShowPaintRectangles(
    bool show
)

function ShowElementAABBs

virtual void ShowElementAABBs(
    bool show
)

function EmitRenderingMetadata

virtual void EmitRenderingMetadata(
    bool emit
)

function SetAdditionalFontFallbacks

virtual bool SetAdditionalFontFallbacks(
    string fontFamilies
)

function DebugDumpDOMTree

virtual DebugDump DebugDumpDOMTree(
    uint flags
)

function DebugDumpStackingContextTree

virtual DebugDump DebugDumpStackingContextTree()

function IMESetComposition

virtual bool IMESetComposition(
    string composition,
    uint targetStart,
    uint targetEnd
)

function IMEConfirmComposition

virtual bool IMEConfirmComposition(
    string composition
)

function IMECancelComposition

virtual bool IMECancelComposition()

function GetStartPanThreshold

virtual float GetStartPanThreshold()

function SetStartPanThreshold

virtual void SetStartPanThreshold(
    float value
)

function SetUserAgent

virtual void SetUserAgent(
    string userAgent
)

function GetUsedImagesList

virtual ImagesList GetUsedImagesList(
    Options options
)

function GetGPUMemoryStats

virtual GPUMemoryInfo GetGPUMemoryStats()

function ResetGPUMemoryTrackerPeaks

virtual void ResetGPUMemoryTrackerPeaks()

function EndCaptureDebugFrame

virtual void EndCaptureDebugFrame()

function EndCaptureBackendDebugFrame

virtual void EndCaptureBackendDebugFrame()

function QueueSetCacheCountSize

virtual void QueueSetCacheCountSize(
    InternalCaches cache,
    uint capacity
)

function QueueSetCacheBytesSize

virtual void QueueSetCacheBytesSize(
    InternalCaches cache,
    uint capacity
)

function QueueClearCaches

virtual void QueueClearCaches(
    uint caches
)

function UnregisterFromEvent

virtual void UnregisterFromEvent(
    global::System.IntPtr handle
)

function UnbindCall

virtual void UnbindCall(
    global::System.IntPtr handle
)

function UnbindObject

virtual void UnbindObject(
    global::System.IntPtr arg0
)

function DestroyExposedArray

virtual void DestroyExposedArray(
    global::System.IntPtr array
)

function IsReadyForBindings

virtual bool IsReadyForBindings()

function ExecuteScript

virtual void ExecuteScript(
    string script
)

function AddInitialScript

virtual void AddInitialScript(
    string script
)

function ResetInitialScripts

virtual void ResetInitialScripts()

function TerminateScriptExecution

virtual void TerminateScriptExecution()

function GetBinder

virtual global::System.IntPtr GetBinder()

function SetCustomMediaFeature

virtual bool SetCustomMediaFeature(
    string name,
    string value
)

function ResetCustomMediaFeatures

virtual void ResetCustomMediaFeatures()

function SynchronizeModels

virtual void SynchronizeModels()

function ReservedMethod

virtual global::System.IntPtr ReservedMethod(
    global::System.IntPtr command,
    global::System.IntPtr data
)

function TriggerEvent

virtual void TriggerEvent(
    string name
)

function TouchEvent

void TouchEvent(
    TouchEventData [] touches,
    uint count
)

function KeyEvent

void KeyEvent(
    KeyEventData arg0
)

function MouseEvent

void MouseEvent(
    MouseEventData arg0
)

function GestureEvent

void GestureEvent(
    GestureEventData arg0
)

function GetCacheCountFilled

uint GetCacheCountFilled(
    InternalCaches cache
)

function GetCacheBytesStatsFilled

uint GetCacheBytesStatsFilled(
    InternalCaches cache
)

function Advance

void Advance(
    uint systemId,
    double time
)

function MarkViewForDestroyInternal

void MarkViewForDestroyInternal(
    uint systemId
)

Protected Attributes Documentation

variable swigCMemOwn

bool swigCMemOwn;