@cauca-911/core
Version:
Run `npm install @cauca-911/core` to add this library to your project
19 lines (18 loc) • 760 B
TypeScript
import { EventEmitter } from '@angular/core';
import { Observable } from 'rxjs';
import { ApiLookupService } from './api-lookup.service';
import { LogService } from './log.service';
import * as i0 from "@angular/core";
export declare class NetworkInformationService {
private apiLookupService;
private logService;
statusChange: EventEmitter<any>;
private estimates;
constructor(apiLookupService: ApiLookupService, logService: LogService);
getConnectionSpeed(): Observable<string>;
getIpAddress(): Observable<string>;
private estimateDownlink;
private onStatusChange;
static ɵfac: i0.ɵɵFactoryDeclaration<NetworkInformationService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NetworkInformationService>;
}