UNPKG

@akylas/nativescript-inappbrowser

Version:
14 lines (13 loc) 1.18 kB
import { OpenBrowserAsync, AuthSessionResult, InAppBrowserOptions } from './InAppBrowser.common'; export declare let CustomTabsClient: typeof androidx.browser.customtabs.CustomTabsClient; export declare const ACTION_CUSTOM_TABS_CONNECTION = "android.support.customtabs.action.CustomTabsService"; export declare const ARROW_BACK_BLACK = "ic_arrow_back_black"; export declare const ARROW_BACK_WHITE = "ic_arrow_back_white"; export declare const DISMISSED_EVENT = "DismissedEvent"; export declare const getDrawableId: typeof import("@nativescript/core/utils").ad.resources.getDrawableId; export declare function getInitialURL(activity: android.app.Activity): string; export declare function openAuthSessionPolyfillAsync(open: OpenBrowserAsync, startUrl: string, returnUrl: string, options?: InAppBrowserOptions): Promise<AuthSessionResult>; export declare function closeAuthSessionPolyfillAsync(): void; export declare function getPreferredPackages(context: android.content.Context): java.util.List<android.content.pm.ResolveInfo>; export declare function toolbarIsLight(themeColor: number): boolean; export declare function getDefaultBrowser(context: android.content.Context): string;