[]Struct jni_android_sys::android::content::IntentFilter

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

public class IntentFilter

Required feature: "android-content-IntentFilter"

Methods

impl IntentFilter

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, IntentFilter>, Local<'env, Throwable>>
[src]

pub fn new_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, IntentFilter>, Local<'env, Throwable>>
[src]

IntentFilter

Required features: "java-lang-String"

pub fn new_String_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, IntentFilter>, Local<'env, Throwable>>
[src]

IntentFilter

Required features: "java-lang-String"

pub fn new_IntentFilter<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env IntentFilter>>
) -> Result<Local<'env, IntentFilter>, Local<'env, Throwable>>
[src]

IntentFilter

Required features: "android-content-IntentFilter"

pub fn create<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, IntentFilter>>, Local<'env, Throwable>>
[src]

create

Required features: "android-content-IntentFilter", "java-lang-String"

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

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

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

addAction

Required features: "java-lang-String"

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

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

getAction

Required features: "java-lang-String"

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

hasAction

Required features: "java-lang-String"

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

matchAction

Required features: "java-lang-String"

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

actionsIterator

Required features: "java-util-Iterator"

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

addDataType

Required features: "java-lang-String"

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

hasDataType

Required features: "java-lang-String"

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

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

getDataType

Required features: "java-lang-String"

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

typesIterator

Required features: "java-util-Iterator"

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

addDataScheme

Required features: "java-lang-String"

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

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

getDataScheme

Required features: "java-lang-String"

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

hasDataScheme

Required features: "java-lang-String"

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

schemesIterator

Required features: "java-util-Iterator"

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

addDataSchemeSpecificPart

Required features: "java-lang-String"

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

pub fn getDataSchemeSpecificPart<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, PatternMatcher>>, Local<'env, Throwable>>
[src]

getDataSchemeSpecificPart

Required features: "android-os-PatternMatcher"

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

hasDataSchemeSpecificPart

Required features: "java-lang-String"

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

schemeSpecificPartsIterator

Required features: "java-util-Iterator"

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

addDataAuthority

Required features: "java-lang-String"

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

pub fn getDataAuthority<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, IntentFilter_AuthorityEntry>>, Local<'env, Throwable>>
[src]

getDataAuthority

Required features: "android-content-IntentFilter_AuthorityEntry"

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

hasDataAuthority

Required features: "android-net-Uri"

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

authoritiesIterator

Required features: "java-util-Iterator"

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

addDataPath

Required features: "java-lang-String"

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

pub fn getDataPath<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, PatternMatcher>>, Local<'env, Throwable>>
[src]

getDataPath

Required features: "android-os-PatternMatcher"

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

hasDataPath

Required features: "java-lang-String"

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

pathsIterator

Required features: "java-util-Iterator"

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

matchDataAuthority

Required features: "android-net-Uri"

pub fn matchData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env Uri>>
) -> Result<i32, Local<'env, Throwable>>
[src]

matchData

Required features: "android-net-Uri", "java-lang-String"

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

addCategory

Required features: "java-lang-String"

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

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

getCategory

Required features: "java-lang-String"

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

hasCategory

Required features: "java-lang-String"

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

categoriesIterator

Required features: "java-util-Iterator"

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

matchCategories

Required features: "java-lang-String", "java-util-Set"

pub fn match_ContentResolver_Intent_boolean_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ContentResolver>>,
    arg1: impl Into<Option<&'env Intent>>,
    arg2: bool,
    arg3: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

match

Required features: "android-content-ContentResolver", "android-content-Intent", "java-lang-String"

pub fn match_String_String_String_Uri_Set_String<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env String>>,
    arg2: impl Into<Option<&'env String>>,
    arg3: impl Into<Option<&'env Uri>>,
    arg4: impl Into<Option<&'env Set>>,
    arg5: impl Into<Option<&'env String>>
) -> Result<i32, Local<'env, Throwable>>
[src]

match

Required features: "android-net-Uri", "java-lang-String", "java-util-Set"

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

writeToXml

Required features: "org-xmlpull-v1-XmlSerializer"

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

readFromXml

Required features: "org-xmlpull-v1-XmlPullParser"

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

dump

Required features: "android-util-Printer", "java-lang-String"

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

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

writeToParcel

Required features: "android-os-Parcel"

pub fn CREATOR<'env>(env: &'env Env) -> Option<Local<'env, Parcelable_Creator>>[src]

get public static final CREATOR

Required feature: "android-os-Parcelable_Creator"

pub const MATCH_ADJUSTMENT_MASK: i32[src]

public static final MATCH_ADJUSTMENT_MASK

pub const MATCH_ADJUSTMENT_NORMAL: i32[src]

public static final MATCH_ADJUSTMENT_NORMAL

pub const MATCH_CATEGORY_EMPTY: i32[src]

public static final MATCH_CATEGORY_EMPTY

pub const MATCH_CATEGORY_HOST: i32[src]

public static final MATCH_CATEGORY_HOST

pub const MATCH_CATEGORY_MASK: i32[src]

public static final MATCH_CATEGORY_MASK

pub const MATCH_CATEGORY_PATH: i32[src]

public static final MATCH_CATEGORY_PATH

pub const MATCH_CATEGORY_PORT: i32[src]

public static final MATCH_CATEGORY_PORT

pub const MATCH_CATEGORY_SCHEME: i32[src]

public static final MATCH_CATEGORY_SCHEME

pub const MATCH_CATEGORY_SCHEME_SPECIFIC_PART: i32[src]

pub const MATCH_CATEGORY_TYPE: i32[src]

public static final MATCH_CATEGORY_TYPE

pub const NO_MATCH_ACTION: i32[src]

public static final NO_MATCH_ACTION

pub const NO_MATCH_CATEGORY: i32[src]

public static final NO_MATCH_CATEGORY

pub const NO_MATCH_DATA: i32[src]

public static final NO_MATCH_DATA

pub const NO_MATCH_TYPE: i32[src]

public static final NO_MATCH_TYPE

pub const SYSTEM_HIGH_PRIORITY: i32[src]

public static final SYSTEM_HIGH_PRIORITY

pub const SYSTEM_LOW_PRIORITY: i32[src]

public static final SYSTEM_LOW_PRIORITY

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 IntentFilter

impl AsRef<Parcelable> for IntentFilter

impl AsValidJObjectAndEnv for IntentFilter

impl Deref for IntentFilter

type Target = Object

The resulting type after dereferencing.

impl JniType for IntentFilter

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.