MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / onSuccess

Method onSuccess

packages/core/image-asset/index.android.ts:36–38  ·  view source on GitHub ↗
(bitmap)

Source from the content-addressed store, hash-verified

34 Screen.mainScreen.heightPixels,
35 new org.nativescript.widgets.Utils.AsyncImageCallback({
36 onSuccess(bitmap) {
37 callback(bitmap, null);
38 },
39 onError(ex) {
40 callback(null, ex);
41 },

Callers

nothing calls this directly

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected