mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-24 04:24:52 +08:00
[admob][android] Implement VideoOptions + AdRequest into all advert types
This commit is contained in:
17
lib/modules/admob/VideoOptions.js
Normal file
17
lib/modules/admob/VideoOptions.js
Normal file
@@ -0,0 +1,17 @@
|
||||
export default class VideoOptions {
|
||||
|
||||
constructor() {
|
||||
this._props = {
|
||||
startMuted: true,
|
||||
};
|
||||
}
|
||||
|
||||
build() {
|
||||
return this._props;
|
||||
}
|
||||
|
||||
setStartMuted(muted: boolean = true) {
|
||||
this._props.startMuted = muted;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user