import { GoogleAnalytics } from '@ionic-native/google-analytics' ; export class GoogleAnalyticsMock extends GoogleAnalytics { param { string } id param { number } interval returns { Promise < any > } startTrackerWithId ( id , interval ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param allow { boolean } returns { Promise < any > } setAllowIDFACollection ( allow ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { string } id returns { Promise < any > } setUserId ( id ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param anonymize { boolean } returns { Promise < any > } setAnonymizeIp ( anonymize ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param appVersion { string } returns { Promise < any > } setAppVersion ( appVersion ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param optout { boolean } returns { Promise < any > } setOptOut ( optout ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; returns { Promise < any > } debugMode ( ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param key { number } param value { any } returns { Promise < any > } trackMetric ( key , value ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param title { string } param campaignUrl { string } param newSession { boolean } returns { Promise < any > } trackView ( title , campaignUrl ? , newSession ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param key { number } param value { string } returns { Promise < any > } addCustomDimension ( key , value ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param category { string } param action { string } param label { string } param value { number } param newSession { boolean } returns { Promise < any > } trackEvent ( category , action , label ? , value ? , newSession ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param description { string } param fatal { boolean } returns { Promise < any > } trackException ( description , fatal ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param category { string } param intervalInMilliseconds { number } param variable { string } param label { string } returns { Promise < any > } trackTiming ( category , intervalInMilliseconds , variable , label ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param id { string } param affiliation { string } param revenue { number } param tax { number } param shipping { number } param currencyCode { string } returns { Promise < any > } addTransaction ( id , affiliation , revenue , tax , shipping , currencyCode ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param { string } id param { string } name param { string } sku param { string } category param { number } price param { number } quantity param { string } currencyCode returns { Promise < any > } addTransactionItem ( id , name , sku , category , price , quantity , currencyCode ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param shouldEnable { boolean } returns { Promise < any > } enableUncaughtExceptionReporting ( shouldEnable ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; }