Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/types-android

Package Overview
Dependencies
Maintainers
18
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/types-android - npm Package Compare versions

Comparing version 8.5.0 to 8.6.0

15

lib/android/org.nativescript.widgets.d.ts

@@ -32,2 +32,6 @@ declare module org {

export module File {
export function copySync(src: string, dest: string, context: android.content.Context): boolean;
export function copy(src: java.io.InputStream, dest: java.io.OutputStream, callback: org.nativescript.widgets.Async.CompleteCallback, context: any): void;
export function copySync(src: java.io.InputStream, dest: java.io.OutputStream, context: any): boolean;
export function copy(src: string, dest: string, callback: org.nativescript.widgets.Async.CompleteCallback, context: android.content.Context): void;
export function readText(path: string, encoding: string, callback: CompleteCallback, context: any);

@@ -39,2 +43,5 @@ export function read(path: string, callback: CompleteCallback, context: any);

export function writeBuffer(param0: string, param1: java.nio.ByteBuffer, param2: org.nativescript.widgets.Async.CompleteCallback, param3: any): void;
export function append(path: string, content: androidNative.Array<number>, callback: CompleteCallback, context: any);
export function appendBuffer(param0: string, param1: java.nio.ByteBuffer, param2: org.nativescript.widgets.Async.CompleteCallback, param3: any): void;
export function appendText(path: string, content: string, encoding: string, callback: CompleteCallback, context: any);
}

@@ -646,3 +653,4 @@

export class FileHelper {
public static class: java.lang.Class<org.nativescript.widgets.FileHelper>;
public static class: java.lang.Class<org.nativescript.widgets.FileHelper>;
public appendSync(param0: globalAndroid.content.Context, param1: androidNative.Array<number>, param2: org.nativescript.widgets.FileHelper.Callback): void;
public readText(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): void;

@@ -652,4 +660,6 @@ public writeBufferSync(param0: globalAndroid.content.Context, param1: java.nio.ByteBuffer, param2: org.nativescript.widgets.FileHelper.Callback): void;

public copyToFileSync(param0: globalAndroid.content.Context, param1: java.io.File, param2: org.nativescript.widgets.FileHelper.Callback): boolean;
public appendTextSync(param0: globalAndroid.content.Context, param1: string, param2: string, param3: org.nativescript.widgets.FileHelper.Callback): void;
public read(param0: globalAndroid.content.Context, param1: org.nativescript.widgets.FileHelper.Callback): void;
public renameSync(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): void;
public appendBufferSync(param0: globalAndroid.content.Context, param1: java.nio.ByteBuffer, param2: org.nativescript.widgets.FileHelper.Callback): void;
public readSync(param0: globalAndroid.content.Context, param1: org.nativescript.widgets.FileHelper.Callback): androidNative.Array<number>;

@@ -660,2 +670,4 @@ public static fromString(param0: globalAndroid.content.Context, param1: string): org.nativescript.widgets.FileHelper;

public static exists(param0: globalAndroid.content.Context, param1: globalAndroid.net.Uri): boolean;
public append(param0: globalAndroid.content.Context, param1: androidNative.Array<number>, param2: org.nativescript.widgets.FileHelper.Callback): void;
public appendBuffer(param0: globalAndroid.content.Context, param1: java.nio.ByteBuffer, param2: org.nativescript.widgets.FileHelper.Callback): void;
public delete(param0: globalAndroid.content.Context): boolean;

@@ -675,2 +687,3 @@ public writeSync(param0: globalAndroid.content.Context, param1: androidNative.Array<number>, param2: org.nativescript.widgets.FileHelper.Callback): void;

public static exists(param0: globalAndroid.content.Context, param1: string): boolean;
public appendText(param0: globalAndroid.content.Context, param1: string, param2: string, param3: org.nativescript.widgets.FileHelper.Callback): void;
public getLastModified(): number;

@@ -677,0 +690,0 @@ }

18

package.json
{
"name": "@nativescript/types-android",
"version": "8.5.0",
"description": "NativeScript Types for Android.",
"homepage": "https://nativescript.org",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/NativeScript"
},
"license": "Apache-2.0"
"name": "@nativescript/types-android",
"version": "8.6.0",
"description": "NativeScript Types for Android.",
"homepage": "https://nativescript.org",
"repository": {
"type": "git",
"url": "https://github.com/NativeScript/NativeScript"
},
"license": "Apache-2.0"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc