Struct crossbow_admob::AdMobPlugin
source · [−]pub struct AdMobPlugin<'a> { /* private fields */ }
Implementations
sourceimpl<'a> AdMobPlugin<'a>
impl<'a> AdMobPlugin<'a>
pub fn from_jnienv(
singleton: Arc<JniSingleton>,
jnienv: JNIEnv<'a>
) -> Result<Self>
pub fn initialize(
&self,
is_for_child_directed_treatment: bool,
max_ad_content_rating: &str,
is_real: bool,
is_test_europe_user_consent: bool
) -> Result<()>
pub fn get_is_initialized(&self) -> Result<bool>
pub fn load_interstitial(&self, ad_id: &str) -> Result<()>
pub fn get_is_interstitial_loaded(&self) -> Result<bool>
pub fn show_interstitial(&self) -> Result<()>
pub fn request_user_consent(&self) -> Result<()>
pub fn reset_consent_state(&self) -> Result<()>
pub fn load_rewarded(&self, ad_unit_id: &str) -> Result<()>
pub fn get_is_rewarded_loaded(&self) -> Result<bool>
pub fn show_rewarded(&self) -> Result<()>
pub fn load_rewarded_interstitial(&self, ad_unit_id: &str) -> Result<()>
pub fn get_is_rewarded_interstitial_loaded(&self) -> Result<bool>
pub fn show_rewarded_interstitial(&self) -> Result<()>
Auto Trait Implementations
impl<'a> RefUnwindSafe for AdMobPlugin<'a>
impl<'a> !Send for AdMobPlugin<'a>
impl<'a> !Sync for AdMobPlugin<'a>
impl<'a> Unpin for AdMobPlugin<'a>
impl<'a> UnwindSafe for AdMobPlugin<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more