UNPKG

ng-yunzai-mobile

Version:

1. 适配yunzai_uni_app_x

42 lines (41 loc) 1.88 kB
import { BaseDevice } from "./base.device"; import { HttpClient } from "@angular/common/http"; import { BaseClient } from "../client/base.client"; import { Itoken } from "../auth/itoken"; import { IWindow } from "./model/window"; import { Observable } from "rxjs"; import { NavigationBar } from "./model/navigationbar"; import { ITitle } from "./model/title"; import { IShare } from "./model/share"; import { UserLocation } from "./model/location"; import { TokenService } from "../token/token.service"; import { UserService } from "../user/user.service"; export declare class IOS extends BaseDevice { private tokenService; private http; private user; private baseclient; constructor(tokenService: TokenService, http: HttpClient, user: UserService, baseclient: BaseClient); /** * 手机网页认证 */ auth(): Promise<any>; getToken(): Itoken; openWindow(window: IWindow): void; scanCode(): Observable<string>; setNavigationBar(navigationBar: NavigationBar): void; setTitle(ititle: ITitle): void; share(ishare: IShare): void; userLocation(): Observable<UserLocation | any>; validateInWifi(bssids: Array<string>): Observable<boolean | any>; getWifiMac(): Observable<string | any>; chooseContacts(count: number): Observable<any>; contactDetails(targetUserId: string): Observable<any>; uploadImage(count: number, sourceType: any): Observable<any>; openReadWithTimer(url: any, openType: any, title: any, id: any, type: any): Observable<any>; uploadMovie(limitMinute: number): Observable<any>; fileBrowser(url: string, title: string): Observable<any>; startSearchBeacons(ticket: string, callback: (argv: any) => void): void; stopSearchBeacons(callback: (argv: any) => void): void; onSearchBeacons(callback: (argv: any) => void): void; }