SDK 文档版本:v0.1.25
回收 Element 对象并释放原生Android端的缓存。
static recycleElement(uuid: string): void;
uuid
string
Element.uuid
import { PluginCommAPI } from 'sn-plugin-lib'; /** * 回收 Element 的示例。 */ export async function exampleRecycleElement(uuid: string) { PluginCommAPI.recycleElement(uuid); }