addLynxViewClient

Register lifecycle event observer for LynxView

Syntax

Android

public void addLynxViewClient(LynxViewClient client);

Parameters

  • client: LynxViewClient: The structure implemented by the client and registered to the LynxView instance is used to obtain the callbacks of each process in the LynxView lifecycle;

iOS

- (void)addLifecycleClient:(nonnull id<LynxViewLifecycle>)lifecycleClient;

Parameters

  • lifecycleClient: id<LynxViewLifecycle>: The structure implemented by the client and registered to the LynxView instance is used to obtain the callbacks of each process in the LynxView lifecycle;

Compatibility

LCD tables only load in the browser

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.