import Http from '@smartface/native/net/http'; var http = new Http(); var myImageUrl = your-image-url; var request = HttpRequestImage({url: myImageUrl, onLoad: onLoad, onError: onError}); request.cancel();
Protected
Executed before constuctor and after createNativeObject. Use this when you have default values which needs to be set before constructor.
Optional
Generated using TypeDoc
Example