fetchResourcePath
LynxEngine internally calls this method to obtain the path of the common resource on the local disk, and the return result is required to be of String type.
Syntax
Android
public abstract void fetchResourcePath(
LynxResourceRequest request , LynxResourceCallback< String > callback) ;
Parameters
request: Request for the requiring resource.
callback: Path on the disk of the requiring resource.
NOTE
This method must be implemented.
iOS
- ( dispatch_block_t )fetchResourcePath:(nonnull LynxResourceRequest * )request
onComplete:(LynxGenericResourcePathCompletionBlock _Nonnull)callback;
Parameters
request: Request for the requiring resource.
callback: Path on the disk of the requiring resource.
NOTE
This method must be implemented.
Harmony
abstract fetchResourcePath (request: LynxResourceRequest , callback: AsyncCallback < string > ): void ;
Parameters
request: Request to obtain the path of the common resource on the local disk.
callback: with path on the disk of the requiring resource.
Compatibility
LCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.