This commit is contained in:
darenhsu
2022-07-17 13:16:16 +08:00
parent 84759556ff
commit befd344ab0
28070 changed files with 4008428 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
/**
* Gets the language settings of the environment in which the LIFF app is running.
* @export
*/
export default function getLanguage(): string;
+12
View File
@@ -0,0 +1,12 @@
declare type OS = 'ios' | 'android' | 'web' | undefined;
/**
* Gets the environment in which the user is running the LIFF app.
* @export
*/
export default function getOS(): OS;
/**
* Cleanup cached OS, testing use
* @export
*/
export declare function _cleanupCachedOS(): void;
export {};
+5
View File
@@ -0,0 +1,5 @@
/**
* Get LIFF SDK Version
* @return {string}
*/
export default function getVersion(): string;
+11
View File
@@ -0,0 +1,11 @@
/**
* Determines whether the LIFF app is running in LINE's in-app browser.
* @export
* @returns {boolean}
*/
export default function isInClient(): boolean;
/**
* Cleanup cached OS, testing use
* @export
*/
export declare function _cleanupCachedIsInClient(): void;