UNPKG

ng-yunzai-mobile

Version:

1. 修改wechat.micro.ts

39 lines (38 loc) 1.81 kB
import { BaseDevice } from "./base.device"; import { IShare, ITitle, IWindow, NavigationBar, UserLocation } from "./model"; import { Itoken } from "../auth"; import { Observable } from "rxjs"; import { TokenService } from "../token/token.service"; import { UserService } from "../user/user.service"; import { HttpClient } from "@angular/common/http"; import { BaseClient } from "../client/base.client"; import { Title } from "@angular/platform-browser"; export declare class WechatMicro extends BaseDevice { private tokenService; private http; private user; private title; private baseclient; constructor(tokenService: TokenService, http: HttpClient, user: UserService, title: Title, baseclient: BaseClient); auth(): Promise<any>; generateWechatConfig(): void; openWindow(iwindow: IWindow): void; setTitle(ititle: ITitle): void; setNavigationBar(navigationBar: NavigationBar): void; share(ishare: IShare): void; getToken(): Itoken; scanCode(): Observable<string>; userLocation(): Observable<UserLocation>; validateInWifi(bssids: string[]): Observable<boolean>; getWifiMac(): Observable<string>; 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; private getUrlParam; }