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 void | TriggerEvent< T1 >(string name, T1 argument1) Trigger event in view |
virtual void | TriggerEvent< T1, T2 >(string name, T1 argument1, T2 argument2) |
virtual void | TriggerEvent< T1, T2, T3 >(string name, T1 argument1, T2 argument2, T3 argument3) |
virtual void | TriggerEvent< T1, T2, T3, T4 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4) |
virtual void | TriggerEvent< T1, T2, T3, T4, T5 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5) |
virtual void | TriggerEvent< T1, T2, T3, T4, T5, T6 >(string name, T1 argument1, T2 argument2, T3 argument3, T4 argument4, T5 argument5, T6 argument6) |
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) |
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) |
virtual void | Dispose() |
BoundEventHandle | BindCall(string name, global::System.Delegate handler) |
BoundEventHandle | RegisterForEvent(string name, global::System.Delegate handler) |
void | UnregisterFromEvent(BoundEventHandle handle) |
void | UnbindCall(BoundEventHandle handle) |
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. |
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. |
virtual void | LoadURL(string url) |
virtual void | Reload() |
virtual void | UnloadDocument() |
virtual void | ClearNavigationHistory() |
virtual uint | GetId() |
virtual int | GetTaskFamilyId() |
virtual void | Resize(uint width, uint height) |
virtual void | SetUserBackgroundOffset(float x, float y) |
virtual void | SetResolutionForRendering(uint width, uint height) |
virtual uint | GetWidth() |
virtual uint | GetHeight() |
virtual void | OnListenerLost() |
virtual void | EnableRendering(bool value) |
virtual void | EnableImmediateLayout(bool isEnabled) |
virtual bool | IsImmediateLayoutEnabled() |
virtual void | ContinuousRepaint(bool enable) |
virtual void | EnableUISurfacePartitioning(bool enable) |
virtual void | ShowPaintRectangles(bool show) |
virtual void | ShowElementAABBs(bool show) |
virtual void | EmitRenderingMetadata(bool emit) |
virtual bool | SetAdditionalFontFallbacks(string fontFamilies) |
virtual DebugDump | DebugDumpDOMTree(uint flags) |
virtual DebugDump | DebugDumpStackingContextTree() |
virtual bool | IMESetComposition(string composition, uint targetStart, uint targetEnd) |
virtual bool | IMEConfirmComposition(string composition) |
virtual bool | IMECancelComposition() |
virtual float | GetStartPanThreshold() |
virtual void | SetStartPanThreshold(float value) |
virtual void | SetUserAgent(string userAgent) |
virtual ImagesList | GetUsedImagesList(Options options) |
virtual GPUMemoryInfo | GetGPUMemoryStats() |
virtual void | ResetGPUMemoryTrackerPeaks() |
virtual void | EndCaptureDebugFrame() |
virtual void | EndCaptureBackendDebugFrame() |
virtual void | QueueSetCacheCountSize(InternalCaches cache, uint capacity) |
virtual void | QueueSetCacheBytesSize(InternalCaches cache, uint capacity) |
virtual void | QueueClearCaches(uint caches) |
virtual void | UnregisterFromEvent(global::System.IntPtr handle) |
virtual void | UnbindCall(global::System.IntPtr handle) |
virtual void | UnbindObject(global::System.IntPtr arg0) |
virtual void | DestroyExposedArray(global::System.IntPtr array) |
virtual bool | IsReadyForBindings() |
virtual void | ExecuteScript(string script) |
virtual void | AddInitialScript(string script) |
virtual void | ResetInitialScripts() |
virtual void | TerminateScriptExecution() |
virtual global::System.IntPtr | GetBinder() |
virtual bool | SetCustomMediaFeature(string name, string value) |
virtual void | ResetCustomMediaFeatures() |
virtual void | SynchronizeModels() |
virtual global::System.IntPtr | ReservedMethod(global::System.IntPtr command, global::System.IntPtr data) |
virtual void | TriggerEvent(string name) |
void | TouchEvent(TouchEventData [] touches, uint count) |
void | KeyEvent(KeyEventData arg0) |
void | MouseEvent(MouseEventData arg0) |
void | GestureEvent(GestureEventData arg0) |
uint | GetCacheCountFilled(InternalCaches cache) |
uint | GetCacheBytesStatsFilled(InternalCaches cache) |
void | Advance(uint systemId, double time) |
void | MarkViewForDestroyInternal(uint systemId) |
Protected Attributes
Name | |
---|---|
bool | swigCMemOwn |
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;