[]Struct jni_android_sys::android::telephony::MbmsDownloadSession

#[repr(transparent)]
pub struct MbmsDownloadSession(_);

public class MbmsDownloadSession

Required feature: "android-telephony-MbmsDownloadSession"

Methods

impl MbmsDownloadSession

pub fn create_Context_Executor_MbmsDownloadSessionCallback<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Executor>>,
    arg2: impl Into<Option<&'env MbmsDownloadSessionCallback>>
) -> Result<Option<Local<'env, MbmsDownloadSession>>, Local<'env, Throwable>>
[src]

create

Required features: "android-content-Context", "android-telephony-MbmsDownloadSession", "android-telephony-mbms-MbmsDownloadSessionCallback", "java-util-concurrent-Executor"

pub fn create_Context_Executor_int_MbmsDownloadSessionCallback<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Context>>,
    arg1: impl Into<Option<&'env Executor>>,
    arg2: i32,
    arg3: impl Into<Option<&'env MbmsDownloadSessionCallback>>
) -> Result<Option<Local<'env, MbmsDownloadSession>>, Local<'env, Throwable>>
[src]

create

Required features: "android-content-Context", "android-telephony-MbmsDownloadSession", "android-telephony-mbms-MbmsDownloadSessionCallback", "java-util-concurrent-Executor"

pub fn requestUpdateFileServices<'env>(
    &'env self,
    arg0: impl Into<Option<&'env List>>
) -> Result<(), Local<'env, Throwable>>
[src]

requestUpdateFileServices

Required features: "java-util-List"

pub fn setTempFileRootDirectory<'env>(
    &'env self,
    arg0: impl Into<Option<&'env File>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTempFileRootDirectory

Required features: "java-io-File"

pub fn getTempFileRootDirectory<'env>(
    &'env self
) -> Result<Option<Local<'env, File>>, Local<'env, Throwable>>
[src]

getTempFileRootDirectory

Required features: "java-io-File"

pub fn download<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]

download

Required features: "android-telephony-mbms-DownloadRequest"

pub fn listPendingDownloads<'env>(
    &'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]

listPendingDownloads

Required features: "java-util-List"

pub fn addStatusListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>,
    arg1: impl Into<Option<&'env Executor>>,
    arg2: impl Into<Option<&'env DownloadStatusListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addStatusListener

Required features: "android-telephony-mbms-DownloadRequest", "android-telephony-mbms-DownloadStatusListener", "java-util-concurrent-Executor"

pub fn removeStatusListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>,
    arg1: impl Into<Option<&'env DownloadStatusListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeStatusListener

Required features: "android-telephony-mbms-DownloadRequest", "android-telephony-mbms-DownloadStatusListener"

pub fn addProgressListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>,
    arg1: impl Into<Option<&'env Executor>>,
    arg2: impl Into<Option<&'env DownloadProgressListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

addProgressListener

Required features: "android-telephony-mbms-DownloadProgressListener", "android-telephony-mbms-DownloadRequest", "java-util-concurrent-Executor"

pub fn removeProgressListener<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>,
    arg1: impl Into<Option<&'env DownloadProgressListener>>
) -> Result<(), Local<'env, Throwable>>
[src]

removeProgressListener

Required features: "android-telephony-mbms-DownloadProgressListener", "android-telephony-mbms-DownloadRequest"

pub fn cancelDownload<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]

cancelDownload

Required features: "android-telephony-mbms-DownloadRequest"

pub fn requestDownloadState<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>,
    arg1: impl Into<Option<&'env FileInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

requestDownloadState

Required features: "android-telephony-mbms-DownloadRequest", "android-telephony-mbms-FileInfo"

pub fn resetDownloadKnowledge<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DownloadRequest>>
) -> Result<(), Local<'env, Throwable>>
[src]

resetDownloadKnowledge

Required features: "android-telephony-mbms-DownloadRequest"

pub fn close<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub const DEFAULT_TOP_LEVEL_TEMP_DIRECTORY: &'static str[src]

pub const EXTRA_MBMS_COMPLETED_FILE_URI: &'static str[src]

public static final EXTRA_MBMS_COMPLETED_FILE_URI

pub const EXTRA_MBMS_DOWNLOAD_REQUEST: &'static str[src]

public static final EXTRA_MBMS_DOWNLOAD_REQUEST

pub const EXTRA_MBMS_DOWNLOAD_RESULT: &'static str[src]

public static final EXTRA_MBMS_DOWNLOAD_RESULT

pub const EXTRA_MBMS_FILE_INFO: &'static str[src]

public static final EXTRA_MBMS_FILE_INFO

pub const RESULT_CANCELLED: i32[src]

public static final RESULT_CANCELLED

pub const RESULT_DOWNLOAD_FAILURE: i32[src]

public static final RESULT_DOWNLOAD_FAILURE

pub const RESULT_EXPIRED: i32[src]

public static final RESULT_EXPIRED

pub const RESULT_FILE_ROOT_UNREACHABLE: i32[src]

public static final RESULT_FILE_ROOT_UNREACHABLE

pub const RESULT_IO_ERROR: i32[src]

public static final RESULT_IO_ERROR

pub const RESULT_OUT_OF_STORAGE: i32[src]

public static final RESULT_OUT_OF_STORAGE

pub const RESULT_SERVICE_ID_NOT_DEFINED: i32[src]

public static final RESULT_SERVICE_ID_NOT_DEFINED

pub const RESULT_SUCCESSFUL: i32[src]

public static final RESULT_SUCCESSFUL

pub const STATUS_ACTIVELY_DOWNLOADING: i32[src]

public static final STATUS_ACTIVELY_DOWNLOADING

pub const STATUS_PENDING_DOWNLOAD: i32[src]

public static final STATUS_PENDING_DOWNLOAD

pub const STATUS_PENDING_DOWNLOAD_WINDOW: i32[src]

public static final STATUS_PENDING_DOWNLOAD_WINDOW

pub const STATUS_PENDING_REPAIR: i32[src]

public static final STATUS_PENDING_REPAIR

pub const STATUS_UNKNOWN: i32[src]

public static final STATUS_UNKNOWN

Methods from Deref<Target = Object>

pub fn getClass<'env>(
    &'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]

getClass

Required features: "java-lang-Class"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

pub fn wait_long<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait_long_int<'env>(
    &'env self,
    arg0: i64,
    arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>[src]

Trait Implementations

impl AsJValue for MbmsDownloadSession

impl AsRef<AutoCloseable> for MbmsDownloadSession

impl AsValidJObjectAndEnv for MbmsDownloadSession

impl Deref for MbmsDownloadSession

type Target = Object

The resulting type after dereferencing.

impl JniType for MbmsDownloadSession

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.