[admob][android] Add dummy methods to AdRequest
This commit is contained in:
parent
608c1d8d6b
commit
9c2d4a73d6
@ -3,6 +3,9 @@ export default class AdRequest {
|
||||
constructor() {
|
||||
this._props = {
|
||||
keywords: [],
|
||||
contentUrl: null,
|
||||
isDesignedForFamilies: null,
|
||||
tagForChildDirectedTreatment: null,
|
||||
};
|
||||
}
|
||||
|
||||
@ -15,8 +18,38 @@ export default class AdRequest {
|
||||
return this;
|
||||
}
|
||||
|
||||
addKeyword(word: string) {
|
||||
this._props.keywords.push(word);
|
||||
addKeyword(keyword: string) {
|
||||
this._props.keywords.push(keyword);
|
||||
return this;
|
||||
}
|
||||
|
||||
setBirthday() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
setContentUrl(url: string) {
|
||||
this._props.contentUrl = url;
|
||||
}
|
||||
|
||||
setGender() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
setLocation() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
setRequestAgent() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
setIsDesignedForFamilies(isDesignedForFamilies: boolean) {
|
||||
this._props.isDesignedForFamilies = isDesignedForFamilies;
|
||||
return this;
|
||||
}
|
||||
|
||||
tagForChildDirectedTreatment(tagForChildDirectedTreatment: boolean) {
|
||||
this._props.tagForChildDirectedTreatment = tagForChildDirectedTreatment;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user