@realsee/five 6.7.0-alpha.9 → 6.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (212) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/navigation.js +1 -1
  3. package/docs/assets/search.js +1 -1
  4. package/docs/classes/five.AdaptiveLuminancePass.html +22 -0
  5. package/docs/classes/five.AnimationFrameLoop.html +4 -4
  6. package/docs/classes/five.BoundingMesh.html +4 -0
  7. package/docs/classes/five.Camera.html +6 -5
  8. package/docs/classes/five.EffectComposer.html +21 -0
  9. package/docs/classes/five.EyeDomeLightingPass.html +21 -0
  10. package/docs/classes/five.Five.html +90 -76
  11. package/docs/classes/five.FivePass.html +18 -0
  12. package/docs/classes/five.FiveRenderer.html +9 -0
  13. package/docs/classes/five.FullScreenQuad.html +6 -0
  14. package/docs/classes/five.InternalWebGLRenderer.html +1 -1
  15. package/docs/classes/five.Model.html +32 -31
  16. package/docs/classes/five.ModelScene.html +23 -20
  17. package/docs/classes/five.NetworkSubscribe.html +1 -1
  18. package/docs/classes/five.PBMContainer.html +1 -1
  19. package/docs/classes/five.PBMGroup.html +1 -1
  20. package/docs/classes/five.PBMMesh.html +1 -1
  21. package/docs/classes/five.PBMMeshMaterial.html +6 -7
  22. package/docs/classes/five.PBMPointCloud.html +1 -1
  23. package/docs/classes/five.PBMPointCloudMaterial.html +5 -6
  24. package/docs/classes/five.PBMSkinnedMesh.html +1 -1
  25. package/docs/classes/five.PanoCircleMesh.html +3 -3
  26. package/docs/classes/five.PanoCircleMeshCustom.html +4 -4
  27. package/docs/classes/five.PanoCircleMeshSolid.html +5 -5
  28. package/docs/classes/five.Parameter.html +44 -47
  29. package/docs/classes/five.Scene.html +1 -1
  30. package/docs/classes/five.Subscribe.html +1 -1
  31. package/docs/classes/five.TextureLoader.html +2 -2
  32. package/docs/classes/five.Tile3D.html +21 -21
  33. package/docs/classes/five.TileNode.html +4 -3
  34. package/docs/classes/five.Tileset.html +4 -4
  35. package/docs/classes/five.TrajectoryNode.html +1 -1
  36. package/docs/classes/five.Work.html +16 -16
  37. package/docs/classes/five.WorkResolvedObserver.html +20 -21
  38. package/docs/classes/gltf-loader.DDSLoader.html +1 -1
  39. package/docs/classes/gltf-loader.DRACOLoader.html +1 -1
  40. package/docs/classes/gltf-loader.GLTFLoader.html +1 -1
  41. package/docs/classes/gltf-loader.GLTFObject.html +1 -1
  42. package/docs/classes/gltf-loader.THREEGLTFLoader.html +1 -1
  43. package/docs/classes/line.Line.html +1 -1
  44. package/docs/classes/line.LineGeometry.html +1 -1
  45. package/docs/classes/line.LineMaterial.html +1 -1
  46. package/docs/classes/line.LineSegmentsGeometry.html +1 -1
  47. package/docs/classes/line.THREE_Line2.html +1 -1
  48. package/docs/classes/line.THREE_LineSegments2.html +1 -1
  49. package/docs/classes/plugins.BasePlugin.Controller.html +1 -1
  50. package/docs/classes/plugins.RoundedBoxGeometry.html +1 -1
  51. package/docs/classes/sticker.Sticker.html +1 -1
  52. package/docs/classes/vfx.Airflow.html +1 -1
  53. package/docs/classes/vfx.Flame.html +1 -1
  54. package/docs/classes/vfx.Particle.html +1 -1
  55. package/docs/classes/vfx.ParticleGPU.html +1 -1
  56. package/docs/classes/vfx.SpotLight.html +1 -1
  57. package/docs/functions/five.loadAt3d.html +1 -1
  58. package/docs/functions/five.parseWork.html +1 -1
  59. package/docs/functions/five.workToJson.html +1 -1
  60. package/docs/functions/plugins.DynamicPathLinePlugin.html +1 -0
  61. package/docs/functions/react.withFive.html +1 -1
  62. package/docs/functions/vue.useFiveWorks.html +2 -2
  63. package/docs/hierarchy.html +1 -1
  64. package/docs/interfaces/five.AddableObject.html +1 -1
  65. package/docs/interfaces/five.AjaxOptions.html +1 -1
  66. package/docs/interfaces/five.AnimationFrame.html +3 -2
  67. package/docs/interfaces/five.AnimationFrameContext.html +2 -2
  68. package/docs/interfaces/five.BaseEvent.html +1 -1
  69. package/docs/interfaces/five.EventCallback.html +1 -1
  70. package/docs/interfaces/five.FiveInitArgs.html +3 -3
  71. package/docs/interfaces/five.FiveLoadOptions.html +8 -10
  72. package/docs/interfaces/five.GestureEvent.html +1 -1
  73. package/docs/interfaces/five.ImageOptions.html +1 -1
  74. package/docs/interfaces/five.IntersectEvent.html +1 -1
  75. package/docs/interfaces/five.IntersectMesh.html +2 -2
  76. package/docs/interfaces/five.IntersectMeshInterface.html +1 -1
  77. package/docs/interfaces/five.Intersection.html +1 -1
  78. package/docs/interfaces/five.LoosePanoWork.html +2 -2
  79. package/docs/interfaces/five.LooseWork.html +2 -2
  80. package/docs/interfaces/five.LooseWorkInitial.html +2 -2
  81. package/docs/interfaces/five.LooseWorkModel.html +3 -2
  82. package/docs/interfaces/five.LooseWorkObserver.html +3 -2
  83. package/docs/interfaces/five.LooseWorkPanorama.html +8 -8
  84. package/docs/interfaces/five.LooseWorkVideo.html +2 -2
  85. package/docs/interfaces/five.LooseWorkWithExtrinsics.html +7 -7
  86. package/docs/interfaces/five.ModeChangeEvent.html +2 -2
  87. package/docs/interfaces/five.ModelControllerCustomInitArgs.html +5 -3
  88. package/docs/interfaces/five.ModelEvent.html +2 -2
  89. package/docs/interfaces/five.ModelOptions.html +11 -0
  90. package/docs/interfaces/five.ModelSceneEvent.html +2 -2
  91. package/docs/interfaces/five.MovePanoOptions.html +1 -1
  92. package/docs/interfaces/five.NetworkAbortError.html +1 -1
  93. package/docs/interfaces/five.NetworkFirbiddenError.html +1 -1
  94. package/docs/interfaces/five.NetworkOptions.html +1 -1
  95. package/docs/interfaces/five.NetworkProxyError.html +1 -1
  96. package/docs/interfaces/five.NetworkResourceEvent.html +2 -2
  97. package/docs/interfaces/five.NetworkResponseError.html +1 -1
  98. package/docs/interfaces/five.NetworkTimeoutError.html +1 -1
  99. package/docs/interfaces/five.ObjectEvent.html +2 -2
  100. package/docs/interfaces/five.PBMMaterial.html +1 -1
  101. package/docs/interfaces/five.PBMMeshMaterialParameters.html +2 -3
  102. package/docs/interfaces/five.PBMPointCloudMaterialParameters.html +2 -3
  103. package/docs/interfaces/five.PanoCircleMeshInterface.html +1 -1
  104. package/docs/interfaces/five.PanoCircleMeshSolidOptions.html +2 -2
  105. package/docs/interfaces/five.PanoEvent.html +1 -1
  106. package/docs/interfaces/five.PanoTextureEvent.html +1 -1
  107. package/docs/interfaces/five.PanoramaControllerCustomInitArgs.html +12 -10
  108. package/docs/interfaces/five.PanoramaLikeControllerCustomInitArgs.html +5 -3
  109. package/docs/interfaces/five.ParameterMaterialValue.html +29 -31
  110. package/docs/interfaces/five.ParameterTilesetValue.html +15 -16
  111. package/docs/interfaces/five.ParameterValue.html +43 -46
  112. package/docs/interfaces/five.Pass.html +9 -0
  113. package/docs/interfaces/five.Pose.html +1 -1
  114. package/docs/interfaces/five.RenderEvent.html +2 -2
  115. package/docs/interfaces/five.ResolvedParameterValue.html +43 -46
  116. package/docs/interfaces/five.State.html +1 -1
  117. package/docs/interfaces/five.StateEvent.html +1 -1
  118. package/docs/interfaces/five.TextureOptions.html +1 -1
  119. package/docs/interfaces/five.TilesetOptions.html +2 -2
  120. package/docs/interfaces/five.TopviewControllerCustomInitArgs.html +7 -3
  121. package/docs/interfaces/five.VRPanoramaControllerCustomInitArgs.html +12 -10
  122. package/docs/interfaces/five.ViewLayer.html +21 -21
  123. package/docs/interfaces/five.WorkCubeImage.html +2 -2
  124. package/docs/interfaces/five.WorkImage.html +5 -3
  125. package/docs/interfaces/five.WorkInitial.html +8 -8
  126. package/docs/interfaces/five.WorkModel.html +9 -7
  127. package/docs/interfaces/five.WorkModelJson.html +3 -2
  128. package/docs/interfaces/five.WorkModelLayer.html +7 -2
  129. package/docs/interfaces/five.WorkModelLayerJson.html +2 -2
  130. package/docs/interfaces/five.WorkObserver.html +21 -22
  131. package/docs/interfaces/five.WorkObserverJson.html +4 -2
  132. package/docs/interfaces/five.WorkPanoramaJson.html +2 -2
  133. package/docs/interfaces/five.WorkPanoramasJson.html +2 -2
  134. package/docs/interfaces/five.WorkTile.html +4 -4
  135. package/docs/interfaces/five.WorkVideo.html +4 -4
  136. package/docs/interfaces/five.WorksEvent.html +2 -3
  137. package/docs/interfaces/five.XRControllerEvent.html +1 -1
  138. package/docs/interfaces/five.XRGestureEvent.html +1 -1
  139. package/docs/interfaces/five.XRPanoramaControllerCustomInitArgs.html +12 -10
  140. package/docs/interfaces/five.XRSessionEvent.html +1 -1
  141. package/docs/interfaces/plugins.BackgroundPluginController.html +1 -1
  142. package/docs/interfaces/plugins.BackgroundPluginType.EventMap.html +1 -1
  143. package/docs/interfaces/plugins.BasePlugin.State.html +1 -1
  144. package/docs/interfaces/plugins.DynamicPathLinePluginController.html +83 -0
  145. package/docs/interfaces/plugins.DynamicPathLinePluginType.Config.html +36 -0
  146. package/docs/interfaces/plugins.DynamicPathLinePluginType.EventMap.html +26 -0
  147. package/docs/interfaces/plugins.DynamicPathLinePluginType.Params.html +6 -0
  148. package/docs/interfaces/plugins.DynamicPathLinePluginType.PathConfig.html +28 -0
  149. package/docs/interfaces/plugins.DynamicPathLinePluginType.State.html +10 -0
  150. package/docs/interfaces/plugins.ItemMaskController.html +1 -1
  151. package/docs/interfaces/plugins.ItemMaskPluginType.EventMap.html +1 -1
  152. package/docs/interfaces/plugins.ItemMaskPluginType.State.html +1 -1
  153. package/docs/interfaces/plugins.OrientationPluginController.html +1 -1
  154. package/docs/interfaces/plugins.OrientationPluginType.EventMap.html +1 -1
  155. package/docs/interfaces/plugins.OrientationPluginType.State.html +1 -1
  156. package/docs/interfaces/plugins.PanoAnimeController.html +1 -1
  157. package/docs/interfaces/plugins.PanoAnimePluginType.EventMap.html +1 -1
  158. package/docs/interfaces/plugins.PanoAnimePluginType.State.html +1 -1
  159. package/docs/interfaces/plugins.PluginTemplateType.EventMap.html +1 -1
  160. package/docs/interfaces/plugins.PluginTemplateType.State.html +1 -1
  161. package/docs/interfaces/plugins.TrajectoryController.html +1 -1
  162. package/docs/interfaces/react.FiveInjectionTypes.html +4 -4
  163. package/docs/modules/five.html +1 -1
  164. package/docs/modules/plugins.DynamicPathLinePluginType.html +1 -0
  165. package/docs/modules/plugins.html +1 -1
  166. package/docs/types/five.AnimationFrameLoopType.html +1 -1
  167. package/docs/types/five.Models.html +4 -4
  168. package/docs/types/five.ParseOptions.html +6 -6
  169. package/docs/types/five.PostProcessingType.html +1 -1
  170. package/docs/types/five.RequestAnimationFrameArgs.html +1 -0
  171. package/docs/types/five.TilesetFrameState.html +2 -3
  172. package/docs/types/plugins.BasePlugin.EventMap.html +1 -1
  173. package/docs/types/plugins.DynamicPathLinePluginType.PluginData.html +3 -0
  174. package/docs/types/plugins.DynamicPathLinePluginType.ServerData.html +3 -0
  175. package/docs/types/vue.FiveProviderComponent.html +1 -1
  176. package/five/index.d.ts +311 -85
  177. package/five/index.js +299 -198
  178. package/five/index.mjs +7306 -6940
  179. package/gltf-loader/index.js +3 -3
  180. package/gltf-loader/index.mjs +146 -146
  181. package/line/index.js +3 -3
  182. package/line/index.mjs +10 -10
  183. package/package.json +1 -1
  184. package/plugins/index.d.ts +314 -0
  185. package/plugins/index.js +296 -15
  186. package/plugins/index.mjs +2615 -1503
  187. package/react/index.d.ts +1 -1
  188. package/react/index.js +2 -2
  189. package/react/index.mjs +2 -2
  190. package/shader-lib/index.d.ts +24 -1
  191. package/shader-lib/index.js +22 -13
  192. package/shader-lib/index.mjs +408 -171
  193. package/sticker/index.js +3 -3
  194. package/sticker/index.mjs +7 -7
  195. package/umd/five-gltf-loader.js +3 -3
  196. package/umd/five-line.js +3 -3
  197. package/umd/five-plugins.js +296 -15
  198. package/umd/five-react.js +2 -2
  199. package/umd/five-shader-lib.js +22 -13
  200. package/umd/five-sticker.js +3 -3
  201. package/umd/five-vfx.js +2 -2
  202. package/umd/five-vue.js +2 -2
  203. package/umd/five.js +299 -198
  204. package/vfx/index.js +2 -2
  205. package/vfx/index.mjs +2 -2
  206. package/vue/index.d.ts +1 -1
  207. package/vue/index.js +2 -2
  208. package/vue/index.mjs +2 -2
  209. package/work-downloader/index.js +3 -3
  210. package/work-downloader/index.mjs +13 -11
  211. package/docs/interfaces/five.ModelLike.html +0 -3
  212. package/docs/types/five.Tile3dOptions.html +0 -1
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>BackgroundPluginController | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/plugins.html">plugins</a></li><li><a href="" aria-current="page">BackgroundPluginController</a></li></ul><h1>Interface BackgroundPluginController</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>plugin 的基本控制器</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">BackgroundPluginController</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#five">five</a><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#hooks">hooks</a><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.BackgroundPluginType.EventMap.html" class="tsd-signature-type tsd-kind-interface">EventMap</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#pluginname">pluginName</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;BackgroundPlugin&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#state">state</a><span class="tsd-signature-symbol">:</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#staticprefix">staticPrefix</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#absoluteurl-1">absoluteUrl</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#appendto-1">appendTo</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">wrapper</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#disable-1">disable</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#dispose-1">dispose</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#enable-1">enable</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#getcurrentstate-1">getCurrentState</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#hide-1">hide</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#load-1">load</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#setstate-1">setState</a><span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#show-1">show</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="5913"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BackgroundPluginController">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../classes/plugins.BasePlugin.Controller.html" class="tsd-signature-type tsd-kind-class">Controller</a><span class="tsd-signature-symbol">&lt;</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">,</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.BackgroundPluginType.EventMap.html" class="tsd-signature-type tsd-kind-interface">EventMap</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.PluginData.html" class="tsd-signature-type tsd-kind-type-alias">PluginData</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">BackgroundPluginController</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BackgroundPlugin/Controller.ts:5</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#five" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>five</span></a>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">BackgroundPluginController</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#five">five</a><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Five.html" class="tsd-signature-type tsd-kind-class">Five</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#hooks">hooks</a><span class="tsd-signature-symbol">:</span> <a href="../classes/five.Subscribe.html" class="tsd-signature-type tsd-kind-class">Subscribe</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.BackgroundPluginType.EventMap.html" class="tsd-signature-type tsd-kind-interface">EventMap</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#pluginname">pluginName</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;BackgroundPlugin&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#state">state</a><span class="tsd-signature-symbol">:</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#staticprefix">staticPrefix</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#absoluteurl-1">absoluteUrl</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#appendto-1">appendTo</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">wrapper</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Element</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#disable-1">disable</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#dispose-1">dispose</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#enable-1">enable</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#getcurrentstate-1">getCurrentState</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#hide-1">hide</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#load-1">load</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#setstate-1">setState</a><span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">state</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>        <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-call-signature" href="#show-1">show</a><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BasePlugin.BaseOptions.html" class="tsd-signature-type tsd-kind-interface">BaseOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="6234"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BackgroundPluginController">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../classes/plugins.BasePlugin.Controller.html" class="tsd-signature-type tsd-kind-class">Controller</a><span class="tsd-signature-symbol">&lt;</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">,</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.BackgroundPluginType.EventMap.html" class="tsd-signature-type tsd-kind-interface">EventMap</a><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">,</span><br/>    <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.PluginData.html" class="tsd-signature-type tsd-kind-type-alias">PluginData</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">BackgroundPluginController</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BackgroundPlugin/Controller.ts:5</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#five" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>five</span></a>
3
3
  <a href="#hooks" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>hooks</span></a>
4
4
  <a href="#pluginname" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>plugin<wbr/>Name</span></a>
5
5
  <a href="#state" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state</span></a>
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>EventMap | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/plugins.html">plugins</a></li><li><a href="../modules/plugins.BackgroundPluginType.html">BackgroundPluginType</a></li><li><a href="" aria-current="page">EventMap</a></li></ul><h1>Interface EventMap</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>插件基本事件</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">EventMap</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#click">click</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#datachange">dataChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">prevData</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#dataloaded">dataLoaded</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#disable">disable</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">userAction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#dispose">dispose</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enable">enable</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">userAction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#historylengthchange">historyLengthChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">historyStackLength</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#statechange">stateChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BasePlugin.StateChangeParams.html" class="tsd-signature-type tsd-kind-interface">StateChangeParams</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="5876"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BackgroundPluginType.EventMap">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../modules/plugins.BasePlugin.html" class="tsd-signature-type tsd-kind-namespace">BasePlugin</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BasePlugin.EventMap.html" class="tsd-signature-type tsd-kind-type-alias">EventMap</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">,</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.PluginData.html" class="tsd-signature-type tsd-kind-type-alias">PluginData</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">EventMap</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BackgroundPlugin/typings.ts:26</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#click" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>click</span></a>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">EventMap</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#click">click</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">index</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#datachange">dataChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">prevData</span><span class="tsd-signature-symbol">?:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#dataloaded">dataLoaded</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BackgroundPluginType.PluginDataItem.html" class="tsd-signature-type tsd-kind-interface">PluginDataItem</a><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#disable">disable</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">userAction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#dispose">dispose</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">()</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enable">enable</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">event</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">userAction</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#historylengthchange">historyLengthChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">historyStackLength</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#statechange">stateChange</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><br/>        <span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">:</span> <a href="plugins.BasePlugin.StateChangeParams.html" class="tsd-signature-type tsd-kind-interface">StateChangeParams</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=&gt;</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="6197"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BackgroundPluginType.EventMap">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../modules/plugins.BasePlugin.html" class="tsd-signature-type tsd-kind-namespace">BasePlugin</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BasePlugin.EventMap.html" class="tsd-signature-type tsd-kind-type-alias">EventMap</a><span class="tsd-signature-symbol">&lt;</span><a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.State.html" class="tsd-signature-type tsd-kind-type-alias">State</a><span class="tsd-signature-symbol">,</span> <a href="../modules/plugins.BackgroundPluginType.html" class="tsd-signature-type tsd-kind-namespace">BackgroundPluginType</a><span class="tsd-signature-symbol">.</span><a href="../types/plugins.BackgroundPluginType.PluginData.html" class="tsd-signature-type tsd-kind-type-alias">PluginData</a><span class="tsd-signature-symbol">&gt;</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">EventMap</span></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BackgroundPlugin/typings.ts:26</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#click" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>click</span></a>
3
3
  <a href="#datachange" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Change</span></a>
4
4
  <a href="#dataloaded" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data<wbr/>Loaded</span></a>
5
5
  <a href="#disable" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>disable</span></a>
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>State | 如视 Five SDK</title><meta name="description" content="Documentation for 如视 Five SDK"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">如视 Five SDK</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="../modules/plugins.html">plugins</a></li><li><a href="../modules/plugins.BasePlugin.html">BasePlugin</a></li><li><a href="" aria-current="page">State</a></li></ul><h1>Interface State</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>基本属性字段</p>
2
- </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">State</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#config">config</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enabled">enabled</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#visible">visible</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="13"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BasePlugin.State">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">State</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../modules/plugins.ItemMaskPluginType.html" class="tsd-signature-type tsd-kind-namespace">ItemMaskPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.ItemMaskPluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.OrientationPluginType.html" class="tsd-signature-type tsd-kind-namespace">OrientationPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.OrientationPluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.PluginTemplateType.html" class="tsd-signature-type tsd-kind-namespace">PluginTemplateType</a><span class="tsd-signature-symbol">.</span><a href="plugins.PluginTemplateType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.PanoAnimePluginType.html" class="tsd-signature-type tsd-kind-namespace">PanoAnimePluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.PanoAnimePluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BasePlugin/index.ts:8</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#config" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>config?</span></a>
2
+ </div><div class="tsd-comment tsd-typography"></div></section><div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">State</span> <span class="tsd-signature-symbol">{</span><br/>    <a class="tsd-kind-property" href="#config">config</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#enabled">enabled</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/>    <a class="tsd-kind-property" href="#visible">visible</a><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div><section class="tsd-panel tsd-hierarchy" data-refl="13"><h4>Hierarchy (<a href="../hierarchy.html#plugins.BasePlugin.State">View Summary</a>)</h4><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">State</span><ul class="tsd-hierarchy"><li class="tsd-hierarchy-item"><a href="../modules/plugins.ItemMaskPluginType.html" class="tsd-signature-type tsd-kind-namespace">ItemMaskPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.ItemMaskPluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.OrientationPluginType.html" class="tsd-signature-type tsd-kind-namespace">OrientationPluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.OrientationPluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.PluginTemplateType.html" class="tsd-signature-type tsd-kind-namespace">PluginTemplateType</a><span class="tsd-signature-symbol">.</span><a href="plugins.PluginTemplateType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.PanoAnimePluginType.html" class="tsd-signature-type tsd-kind-namespace">PanoAnimePluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.PanoAnimePluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li><li class="tsd-hierarchy-item"><a href="../modules/plugins.DynamicPathLinePluginType.html" class="tsd-signature-type tsd-kind-namespace">DynamicPathLinePluginType</a><span class="tsd-signature-symbol">.</span><a href="plugins.DynamicPathLinePluginType.State.html" class="tsd-signature-type tsd-kind-interface">State</a></li></ul></li></ul></section><aside class="tsd-sources"><ul><li>Defined in lib/plugins/BasePlugin/index.ts:8</li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h5 class="tsd-index-heading uppercase">Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="#config" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>config?</span></a>
3
3
  <a href="#enabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>enabled</span></a>
4
4
  <a href="#visible" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>visible?</span></a>
5
5
  </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h2>Properties</h2></summary><section><section class="tsd-panel tsd-member"><h3 class="tsd-anchor-link" id="config"><code class="tsd-tag">Optional</code><span>config</span><a href="#config" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">config</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span></div><div class="tsd-comment tsd-typography"><p>插件的配置项</p>