react-native-firebase/lib/modules/admob/AdRequest.js

23 lines
311 B
JavaScript
Raw Normal View History

export default class AdRequest {
constructor() {
this._props = {
keywords: [],
};
}
build() {
return this._props;
}
addTestDevice() {
this._props.testDevice = true;
return this;
}
addKeyword(word: string) {
this._props.keywords.push(word);
return this;
}
}