Struct play_billing::PlayBillingPlugin
source · [−]pub struct PlayBillingPlugin { /* private fields */ }
Implementations
sourceimpl PlayBillingPlugin
impl PlayBillingPlugin
pub fn start_connection(&self) -> Result<()>
pub fn end_connection(&self) -> Result<()>
pub fn is_ready(&self) -> Result<bool>
pub fn get_connection_state(&self) -> Result<i32>
pub fn query_purchases<S>(&self, purchase_type: S) -> Result<()>where
S: AsRef<str>,
pub fn query_sku_details<S>(&self, sku_list: &[S], sku_type: S) -> Result<()>where
S: AsRef<str>,
pub fn acknowledge_purchase<S>(&self, purchase_token: S) -> Result<()>where
S: AsRef<str>,
pub fn consume_purchase<S>(&self, purchase_token: S) -> Result<()>where
S: AsRef<str>,
pub fn confirm_price_change<S>(&self, sku: S) -> Result<JniRustType>where
S: AsRef<str>,
pub fn purchase<S>(&self, sku: S) -> Result<JniRustType>where
S: AsRef<str>,
pub fn update_subscription<S>(
&self,
old_token: S,
sku: S,
proration_mode: i32
) -> Result<JniRustType>where
S: AsRef<str>,
pub fn set_obfuscated_account_id<S>(&self, account_id: S) -> Result<()>where
S: AsRef<str>,
pub fn set_obfuscated_profile_id<S>(&self, profile_id: S) -> Result<()>where
S: AsRef<str>,
Trait Implementations
sourceimpl CrossbowPlugin for PlayBillingPlugin
impl CrossbowPlugin for PlayBillingPlugin
fn from_java_vm(vm: Arc<JavaVM>) -> Result<Self>where
Self: Sized,
fn get_plugin_name() -> &'static str
fn get_receiver(&self) -> &Receiver<Signal>
Auto Trait Implementations
impl RefUnwindSafe for PlayBillingPlugin
impl Send for PlayBillingPlugin
impl Sync for PlayBillingPlugin
impl Unpin for PlayBillingPlugin
impl UnwindSafe for PlayBillingPlugin
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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