react-native-theoplayer
Version:
A THEOplayer video component for react-native.
31 lines (30 loc) • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.THEOAdsNativeAdapter = void 0;
class THEOAdsNativeAdapter {
// @ts-ignore
constructor(_player) {
this._player = _player;
}
get currentInterstitials() {
// TODO
//return NativeTHEOAdsModule.currentInterstitials(this._player.nativeHandle);
console.warn('THEOAdsNativeAdapter', 'currentInterstitials - NYI');
return Promise.resolve([]);
}
get scheduledInterstitials() {
// TODO
//return NativeTHEOAdsModule.scheduledInterstitials(this._player.nativeHandle);
console.warn('THEOAdsNativeAdapter', 'scheduledInterstitials - NYI');
return Promise.resolve([]);
}
replaceAdTagParameters(_adTagParameters) {
//return NativeTHEOAdsModule.replaceAdTagParameters(this._player.nativeHandle);
console.warn('THEOAdsNativeAdapter', 'replaceAdTagParameters - NYI');
// TODO
}
}
exports.THEOAdsNativeAdapter = THEOAdsNativeAdapter;
//# sourceMappingURL=THEOAdsNativeAdapter.js.map