[−]Struct jni_android_sys::android::app::backup::BackupAgentHelper
public class BackupAgentHelper
Required feature: "android-app-backup-BackupAgentHelper"
Methods
impl BackupAgentHelper
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, BackupAgentHelper>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, BackupAgentHelper>, Local<'env, Throwable>>
pub fn onBackup<'env>(
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: impl Into<Option<&'env BackupDataOutput>>,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: impl Into<Option<&'env BackupDataOutput>>,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupDataOutput", "android-os-ParcelFileDescriptor"
pub fn onRestore<'env>(
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i32,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i32,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupDataInput", "android-os-ParcelFileDescriptor"
pub fn addHelper<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env BackupHelper>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env BackupHelper>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupHelper", "java-lang-String"
Methods from Deref<Target = BackupAgent>
pub fn onCreate<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onDestroy<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn onBackup<'env>(
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: impl Into<Option<&'env BackupDataOutput>>,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: impl Into<Option<&'env BackupDataOutput>>,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupDataOutput", "android-os-ParcelFileDescriptor"
pub fn onRestore_BackupDataInput_int_ParcelFileDescriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i32,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i32,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupDataInput", "android-os-ParcelFileDescriptor"
pub fn onRestore_BackupDataInput_long_ParcelFileDescriptor<'env>(
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i64,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BackupDataInput>>,
arg1: i64,
arg2: impl Into<Option<&'env ParcelFileDescriptor>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-BackupDataInput", "android-os-ParcelFileDescriptor"
pub fn onFullBackup<'env>(
&'env self,
arg0: impl Into<Option<&'env FullBackupDataOutput>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env FullBackupDataOutput>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-FullBackupDataOutput"
pub fn onQuotaExceeded<'env>(
&'env self,
arg0: i64,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i64
) -> Result<(), Local<'env, Throwable>>
pub fn fullBackupFile<'env>(
&'env self,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env FullBackupDataOutput>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env File>>,
arg1: impl Into<Option<&'env FullBackupDataOutput>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-backup-FullBackupDataOutput", "java-io-File"
pub fn onRestoreFile<'env>(
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: i64,
arg2: impl Into<Option<&'env File>>,
arg3: i32,
arg4: i64,
arg5: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ParcelFileDescriptor>>,
arg1: i64,
arg2: impl Into<Option<&'env File>>,
arg3: i32,
arg4: i64,
arg5: i64
) -> Result<(), Local<'env, Throwable>>
Required features: "android-os-ParcelFileDescriptor", "java-io-File"
pub fn onRestoreFinished<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub const FLAG_CLIENT_SIDE_ENCRYPTION_ENABLED: i32
[src]
pub const FLAG_DEVICE_TO_DEVICE_TRANSFER: i32
[src]
pub const TYPE_DIRECTORY: i32
[src]
pub const TYPE_FILE: i32
[src]
Trait Implementations
impl AsJValue for BackupAgentHelper
impl AsValidJObjectAndEnv for BackupAgentHelper
impl Deref for BackupAgentHelper
impl JniType for BackupAgentHelper
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for BackupAgentHelper
impl !Send for BackupAgentHelper
impl !Sync for BackupAgentHelper
impl Unpin for BackupAgentHelper
impl UnwindSafe for BackupAgentHelper
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,