@nativescript/types-android
Advanced tools
Comparing version 8.1.0 to 8.2.0
@@ -397,2 +397,7 @@ declare module org { | ||
export enum TabIconRenderingMode { | ||
original, | ||
template | ||
} | ||
export class TabLayout extends android.widget.HorizontalScrollView { | ||
@@ -405,2 +410,4 @@ constructor(context: android.content.Context); | ||
getSelectedIndicatorColors(): Array<number>; | ||
setIconRenderingMode(mode: TabIconRenderingMode): void; | ||
getIconRenderingMode(): TabIconRenderingMode; | ||
setTabTextColor(color: number): void; | ||
@@ -636,4 +643,52 @@ getTabTextColor(): number; | ||
export module widgets { | ||
export class FileHelper { | ||
public static class: java.lang.Class<org.nativescript.widgets.FileHelper>; | ||
public readText(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): void; | ||
public writeSync(param0: globalAndroid.content.Context, param1: androidNative.Array<number>, param2: org.nativescript.widgets.FileHelper.Callback): void; | ||
public static fromString(param1: globalAndroid.content.Context, param0: string): org.nativescript.widgets.FileHelper; | ||
public writeText(param0: globalAndroid.content.Context, param1: string, param2: string, param3: org.nativescript.widgets.FileHelper.Callback): void; | ||
public writeTextSync(param0: globalAndroid.content.Context, param1: string, param2: string, param3: org.nativescript.widgets.FileHelper.Callback): void; | ||
public copyToFileSync(param0: globalAndroid.content.Context, param1: java.io.File, param2: org.nativescript.widgets.FileHelper.Callback): boolean; | ||
public getName(): string; | ||
public read(param0: globalAndroid.content.Context, param1: org.nativescript.widgets.FileHelper.Callback): void; | ||
public copyToFile(param0: globalAndroid.content.Context, param1: java.io.File, param2: org.nativescript.widgets.FileHelper.Callback): void; | ||
public static fromUri(param0: globalAndroid.content.Context, param1: globalAndroid.net.Uri): org.nativescript.widgets.FileHelper; | ||
public readSync(param0: globalAndroid.content.Context, param1: org.nativescript.widgets.FileHelper.Callback): androidNative.Array<number>; | ||
public write(param0: globalAndroid.content.Context, param1: androidNative.Array<number>, param2: org.nativescript.widgets.FileHelper.Callback): void; | ||
public getSize(): number; | ||
public getMime(): string; | ||
public readTextSync(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): string; | ||
public delete(param0: globalAndroid.content.Context): boolean; | ||
public static exists(param0: globalAndroid.content.Context, param1: string): boolean; | ||
public static exists(param0: globalAndroid.content.Context, param1: globalAndroid.net.Uri): boolean; | ||
public getExtension(): string; | ||
public getLastModified(): number; | ||
public renameSync(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): string; | ||
public rename(param0: globalAndroid.content.Context, param1: string, param2: org.nativescript.widgets.FileHelper.Callback): string; | ||
} | ||
export module FileHelper { | ||
export class Callback { | ||
public static class: java.lang.Class<org.nativescript.widgets.FileHelper.Callback>; | ||
/** | ||
* Constructs a new instance of the org.nativescript.widgets.FileHelper$Callback interface with the provided implementation. An empty constructor exists calling super() when extending the interface class. | ||
*/ | ||
public constructor(implementation: { | ||
onError(param0: java.lang.Exception): void; | ||
onSuccess(param0: any): void; | ||
}); | ||
public constructor(); | ||
public onError(param0: java.lang.Exception): void; | ||
public onSuccess(param0: any): void; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
declare module org { | ||
export module nativescript { | ||
export module widgets { | ||
export class Utils { | ||
public static class: java.lang.Class<org.nativescript.widgets.Utils>; | ||
public static getBitmapFromView(param0: globalAndroid.view.View): globalAndroid.graphics.Bitmap; | ||
public static loadImageAsync(param0: globalAndroid.content.Context, param1: string, param2: string, param3: number, param4: number, param5: org.nativescript.widgets.Utils.AsyncImageCallback): void; | ||
@@ -640,0 +695,0 @@ public static drawBoxShadow(param0: globalAndroid.view.View, param1: string): void; |
{ | ||
"name": "@nativescript/types-android", | ||
"version": "8.1.0", | ||
"version": "8.2.0", | ||
"description": "NativeScript Types for Android.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://nativescript.org", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117339013
47
469977