19 lines
387 B
TypeScript
Raw Normal View History

2019-09-19 10:40:16 +09:00
import { Observable } from 'rxjs';
2019-09-18 15:02:21 +09:00
export interface NativeService {
showNotify(
roomSeq: number,
title: string,
contents: string,
image: string,
useSound: boolean
): void;
2019-09-19 10:40:16 +09:00
checkForUpdates(): Observable<boolean>;
2019-09-18 15:02:21 +09:00
showImageViewer(): void;
saveFile(path: string, buf: ArrayBuffer): Observable<boolean>;
readFile(path: string): Observable<ArrayBuffer>;
2019-09-18 15:02:21 +09:00
}