diff --git a/src/plugins/admob.ts b/src/plugins/admob.ts index 1830e61e1..1c825b305 100644 --- a/src/plugins/admob.ts +++ b/src/plugins/admob.ts @@ -1,5 +1,5 @@ -import {Plugin, Cordova} from './plugin'; -import {Observable} from 'rxjs/Observable'; +import { Cordova, Plugin } from './plugin'; +import { Observable } from 'rxjs/Observable'; /** * @name AdMob @@ -22,7 +22,7 @@ export class AdMob { * @param adIdOrOptions */ @Cordova() - static createBanner(adIdOrOptions: any): Promise {return; } + static createBanner(adIdOrOptions: any): Promise { return; } /** * @@ -30,7 +30,7 @@ export class AdMob { @Cordova({ sync: true }) - static removeBanner(): void {} + static removeBanner(): void { } /** * @@ -39,7 +39,7 @@ export class AdMob { @Cordova({ sync: true }) - static showBanner(position: any): void {} + static showBanner(position: any): void { } /** * @@ -49,7 +49,7 @@ export class AdMob { @Cordova({ sync: true }) - static showBannerAtXY(x: number, y: number): void {} + static showBannerAtXY(x: number, y: number): void { } /** * @@ -57,14 +57,14 @@ export class AdMob { @Cordova({ sync: true }) - static hideBanner(): void {} + static hideBanner(): void { } /** * * @param adIdOrOptions */ @Cordova() - static prepareInterstitial(adIdOrOptions: any): Promise {return; } + static prepareInterstitial(adIdOrOptions: any): Promise { return; } /** * Show interstitial @@ -72,20 +72,20 @@ export class AdMob { @Cordova({ sync: true }) - static showInterstitial(): void {} + static showInterstitial(): void { } /** * */ @Cordova() - static isInterstitialReady (): Promise {return; } + static isInterstitialReady(): Promise { return; } /** * Prepare a reward video ad * @param adIdOrOptions */ @Cordova() - static prepareRewardVideoAd(adIdOrOptions: any): Promise {return; } + static prepareRewardVideoAd(adIdOrOptions: any): Promise { return; } /** * Show a reward video ad @@ -100,14 +100,14 @@ export class AdMob { * @param options Returns a promise that resolves if the options are set successfully */ @Cordova() - static setOptions(options: any): Promise {return; } + static setOptions(options: any): Promise { return; } /** * Get user ad settings * @returns {Promise} Returns a promise that resolves with the ad settings */ @Cordova() - static getAdSettings(): Promise {return; } + static getAdSettings(): Promise { return; } // Events @@ -115,65 +115,65 @@ export class AdMob { eventObservable: true, event: 'onBannerFailedToReceive' }) - static onBannerFailedToReceive (): Observable {return; } + static onBannerFailedToReceive(): Observable { return; } @Cordova({ eventObservable: true, event: 'onBannerReceive' }) - static onBannerReceive (): Observable {return; } + static onBannerReceive(): Observable { return; } @Cordova({ eventObservable: true, event: 'onBannerPresent' }) - static onBannerPresent (): Observable {return; } + static onBannerPresent(): Observable { return; } @Cordova({ eventObservable: true, event: 'onBannerLeaveApp' }) - static onBannerLeaveApp (): Observable {return; } + static onBannerLeaveApp(): Observable { return; } @Cordova({ eventObservable: true, event: 'onBannerDismiss' }) - static onBannerDismiss (): Observable {return; } + static onBannerDismiss(): Observable { return; } @Cordova({ eventObservable: true, event: 'onInterstitialFailedToReceive' }) - static onInterstitialFailedToReceive (): Observable {return; } + static onInterstitialFailedToReceive(): Observable { return; } @Cordova({ eventObservable: true, event: 'onInterstitialReceive' }) - static onInterstitialReceive (): Observable {return; } + static onInterstitialReceive(): Observable { return; } @Cordova({ eventObservable: true, event: 'onInterstitialPresent' }) - static onInterstitialPresent (): Observable {return; } + static onInterstitialPresent(): Observable { return; } @Cordova({ eventObservable: true, event: 'onInterstitialLeaveApp' }) - static onInterstitialLeaveApp (): Observable {return; } + static onInterstitialLeaveApp(): Observable { return; } @Cordova({ eventObservable: true, event: 'onInterstitialDismiss' }) - static onInterstitialDismiss (): Observable {return; } + static onInterstitialDismiss(): Observable { return; } }