addLynxViewClient
Register lifecycle event observer for LynxView.
Syntax
Android
Parameters
client: The structure implemented by the client and registered to theLynxViewinstance is used to obtain the callbacks of each process in theLynxViewlifecycle
iOS
Parameters
lifecycleClient: The structure implemented by the client and registered to theLynxViewinstance is used to obtain the callbacks of each process in theLynxViewlifecycle.
Harmony
Field
LynxView has clients member:
clients: LynxViewClient[]: The structure implemented by the client and registered to theLynxViewinstance is used to obtain the callbacks of each process in theLynxViewlifecycle.
On the HarmonyOS platfrom, you need to pass your implemented LynxViewClient as a parameter during the initialization of LynxView:
Compatibility
LCD tables only load in the browser