1
export class NativeModuleEmptyIntegrated implements NativeModuleIntegrated {
2
%GENERATED_EMPTY_METHODS%
3
_GetGroupedLog(index: KInt): KPointer {
4
throw new Error("_GetResultString")
6
_StartGroupedLog(index: KInt): void {
7
throw new Error("_StartGroupedLog")
9
_StopGroupedLog(index: KInt): void {
10
throw new Error("_StopGroupedLog")
12
_GetStringFinalizer(): KPointer {
13
throw new Error("_GetStringFinalizer")
15
_InvokeFinalizer(ptr: KPointer, finalizer: KPointer): void {
16
throw new Error("_InvokeFinalizer")
18
_GetNodeFinalizer(): KPointer {
19
throw new Error("_InvokeFinalizer")
21
_StringLength(ptr: KPointer): KInt {
22
throw new Error("_StringLength")
24
_StringData(ptr: KPointer, buffer: KUint8ArrayPtr, length: KInt): void {
25
throw new Error("_StringLength")
27
_StringMake(value: KStringPtr): KPointer {
28
throw new Error("_StringMake")
30
_ManagedStringWrite(value: KStringPtr, buffer: KUint8ArrayPtr, offset: KInt): KInt {
31
throw new Error("_ManagedStringWrite")
33
_Test_SetEventsApi(): void {
34
throw new Error("_Test_Common_OnChildTouchTest")
36
_Test_Common_OnChildTouchTest(valueArray: Uint8Array, valueSerializerLength: KInt): void {
37
throw new Error("_Test_Common_OnChildTouchTest")
39
_Test_List_OnScrollVisibleContentChange(valueArray: Uint8Array, valueSerializerLength: KInt): void {
40
throw new Error("_Test_List_OnScrollVisibleContentChange")
42
_Test_TextPicker_OnAccept(valueArray: Uint8Array, valueSerializerLength: KInt): void {
43
throw new Error("_Test_TextPicker_OnAccept")
45
_TestPerfNumber(value: KInt): KInt { return 0 }
46
_TestPerfNumberWithArray(value: KUint8ArrayPtr, length: KInt): void {}
47
_StartPerf(traceName: KStringPtr): void {}
48
_EndPerf(traceName: KStringPtr): void {}
49
_DumpPerf(options: KInt): KPointer { return 0 }
52
export class NativeModuleEmpty extends NativeModuleEmptyIntegrated implements NativeModule {
54
_CreateNode(type: KInt, id: KInt, flags: KInt): NodePointer { return nullptr }
55
_GetNodeByViewStack(): NodePointer { return nullptr }
56
_DisposeNode(ptr: NodePointer): void {}
57
_AddChild(parent: NodePointer, child: NodePointer): KInt { return 0 }
58
_RemoveChild(parent: NodePointer, child: NodePointer): void {}
59
_InsertChildAfter(parent: NodePointer, child: NodePointer, sibling: NodePointer): KInt { return 0 }
60
_InsertChildBefore(parent: NodePointer, child: NodePointer, sibling: NodePointer): KInt { return 0 }
61
_InsertChildAt(parent: NodePointer, child: NodePointer, position: KInt): KInt { return 0 }
62
_ApplyModifierFinish(ptr: NodePointer): void {}
63
_MarkDirty(ptr: NodePointer, flag: KUInt): void {}
64
_IsBuilderNode(ptr: NodePointer): KBoolean { return 0 }
65
_ConvertLengthMetricsUnit(value: KFloat, originUnit: KInt, targetUnit: KInt): KFloat { return 0 }
68
_SetCustomCallback(node: NodePointer, callbackId: KInt): void {}
69
_MeasureLayoutAndDraw(root: NodePointer): void {}
70
_MeasureNode(root: NodePointer, data: KFloat32ArrayPtr): KInt { return -1 }
71
_LayoutNode(root: NodePointer, data: KFloat32ArrayPtr): KInt { return -1 }
72
_DrawNode(root: NodePointer, data: KFloat32ArrayPtr): KInt { return -1 }
73
_SetMeasureWidth(root: NodePointer, value: KInt): void {}
74
_GetMeasureWidth(root: NodePointer): KInt { return -1 }
75
_SetMeasureHeight(root: NodePointer, value: KInt): void {}
76
_GetMeasureHeight(root: NodePointer): KInt { return -1 }
77
_SetX(root: NodePointer, value: KInt): void {}
78
_GetX(root: NodePointer): KInt{ return -1 }
79
_SetY(root: NodePointer, value: KInt): void {}
80
_GetY(root: NodePointer): KInt { return -1 }
81
_SetAlignment(root: NodePointer, value: KInt): void {}
82
_GetAlignment(root: NodePointer): KInt { return -1 }
84
_IndexerChecker(node: NodePointer): KInt { return -1 }
86
_SetRangeUpdater(node: NodePointer, updaterId: KInt): void {}
87
_SetLazyItemIndexer(node: NodePointer, indexerId: KInt): KInt { return -1 }
90
_GetPipelineContext(nodePtr: NodePointer): PipelineContext { return 0 }
91
_SetVsyncCallback(pipelineContext: PipelineContext, callbackId: KInt): KInt { return -1 }
92
_UnblockVsyncWait(pipelineContext: PipelineContext): KInt { return -1 }
94
_CheckEvents(result: KInt32ArrayPtr, count: KInt): KInt { return -1 }
95
_SendEvent(event: KInt32ArrayPtr, count: KInt): void {}
97
_SetChildTotalCount(ptr: NodePointer, value: KInt): void {}
99
_ShowCrash(messagePtr: KStringPtr): void {}