1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
bitwarden-browser/src/abstractions/platformUtils.service.ts

16 lines
398 B
TypeScript
Raw Normal View History

2018-01-07 04:19:10 +01:00
import { DeviceType } from '../enums/deviceType';
2018-01-06 21:47:23 +01:00
export interface PlatformUtilsService {
getDevice(): DeviceType;
getDeviceString(): string;
isFirefox(): boolean;
isChrome(): boolean;
isEdge(): boolean;
isOpera(): boolean;
2018-01-17 19:38:44 +01:00
isVivaldi(): boolean;
2018-01-11 21:34:51 +01:00
isSafari(): boolean;
2018-01-06 21:47:23 +01:00
analyticsId(): string;
getDomain(uriString: string): string;
isViewOpen(): boolean;
}