mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
BCL: added console, added references, added libjs.d.ts based on MS lib.d.ts without DOM
This commit is contained in:
27
declarations.android.d.ts
vendored
27
declarations.android.d.ts
vendored
@@ -108,6 +108,20 @@ declare module android {
|
||||
static getExternalStorageDirectory(): java.io.File;
|
||||
}
|
||||
}
|
||||
|
||||
export module util {
|
||||
export class Base64 {
|
||||
static encodeToString(bytes: Array<any>, flags: number): string;
|
||||
}
|
||||
|
||||
export class Log {
|
||||
static v(tag: string, message: string): void;
|
||||
static d(tag: string, message: string): void;
|
||||
static w(tag: string, message: string): void;
|
||||
static i(tag: string, message: string): void;
|
||||
static e(tag: string, message: string): void;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
declare module java {
|
||||
@@ -198,6 +212,10 @@ declare module java {
|
||||
constructor(strNum: string);
|
||||
floatValue(): any;
|
||||
}
|
||||
|
||||
export class System {
|
||||
static nanoTime(): number;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -297,15 +315,6 @@ declare module java {
|
||||
}
|
||||
}
|
||||
|
||||
declare module android {
|
||||
export module util {
|
||||
export class Base64 {
|
||||
static encodeToString(bytes: Array<any>, flags: number): string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
declare module android {
|
||||
export module widget {
|
||||
export class ImageView {
|
||||
|
||||
Reference in New Issue
Block a user