MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / fromUrl

Function fromUrl

packages/core/image-source/index.android.ts:475–479  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

473}
474
475export function fromUrl(url: string): Promise<ImageSourceDefinition> {
476 console.log('fromUrl() is deprecated. Use ImageSource.fromUrl() instead.');
477
478 return ImageSource.fromUrl(url);
479}
480
481export function fromFileOrResource(path: string): ImageSource {
482 console.log('fromFileOrResource() is deprecated. Use ImageSource.fromFileOrResourceSync() instead.');

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
fromUrlMethod · 0.45

Tested by

no test coverage detected