[−]Struct jni_android_sys::android::app::SearchManager
public class SearchManager
Required feature: "android-app-SearchManager"
Methods
impl SearchManager
pub fn startSearch<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env ComponentName>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env ComponentName>>,
arg3: impl Into<Option<&'env Bundle>>,
arg4: bool
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn getGlobalSearchActivity<'env>(
&'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ComponentName>>, Local<'env, Throwable>>
Required features: "android-content-ComponentName"
pub fn triggerSearch<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ComponentName>>,
arg2: impl Into<Option<&'env Bundle>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-ComponentName", "android-os-Bundle", "java-lang-String"
pub fn stopSearch<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn setOnDismissListener<'env>(
&'env self,
arg0: impl Into<Option<&'env SearchManager_OnDismissListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SearchManager_OnDismissListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-SearchManager_OnDismissListener"
pub fn setOnCancelListener<'env>(
&'env self,
arg0: impl Into<Option<&'env SearchManager_OnCancelListener>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env SearchManager_OnCancelListener>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-app-SearchManager_OnCancelListener"
pub fn onCancel<'env>(
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface"
pub fn onDismiss<'env>(
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DialogInterface>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-content-DialogInterface"
pub fn getSearchableInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, SearchableInfo>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ComponentName>>
) -> Result<Option<Local<'env, SearchableInfo>>, Local<'env, Throwable>>
Required features: "android-app-SearchableInfo", "android-content-ComponentName"
pub fn getSearchablesInGlobalSearch<'env>(
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, List>>, Local<'env, Throwable>>
Required features: "java-util-List"
pub const ACTION_KEY: &'static str
[src]
public static final ACTION_KEY
pub const ACTION_MSG: &'static str
[src]
public static final ACTION_MSG
pub const APP_DATA: &'static str
[src]
public static final APP_DATA
pub const CURSOR_EXTRA_KEY_IN_PROGRESS: &'static str
[src]
public static final CURSOR_EXTRA_KEY_IN_PROGRESS
pub const EXTRA_DATA_KEY: &'static str
[src]
public static final EXTRA_DATA_KEY
pub const EXTRA_NEW_SEARCH: &'static str
[src]
public static final EXTRA_NEW_SEARCH
pub const EXTRA_SELECT_QUERY: &'static str
[src]
public static final EXTRA_SELECT_QUERY
pub const EXTRA_WEB_SEARCH_PENDINGINTENT: &'static str
[src]
public static final EXTRA_WEB_SEARCH_PENDINGINTENT
pub const FLAG_QUERY_REFINEMENT: i32
[src]
public static final FLAG_QUERY_REFINEMENT
pub const INTENT_ACTION_GLOBAL_SEARCH: &'static str
[src]
public static final INTENT_ACTION_GLOBAL_SEARCH
pub const INTENT_ACTION_SEARCHABLES_CHANGED: &'static str
[src]
public static final INTENT_ACTION_SEARCHABLES_CHANGED
pub const INTENT_ACTION_SEARCH_SETTINGS: &'static str
[src]
public static final INTENT_ACTION_SEARCH_SETTINGS
pub const INTENT_ACTION_SEARCH_SETTINGS_CHANGED: &'static str
[src]
public static final INTENT_ACTION_SEARCH_SETTINGS_CHANGED
pub const INTENT_ACTION_WEB_SEARCH_SETTINGS: &'static str
[src]
public static final INTENT_ACTION_WEB_SEARCH_SETTINGS
pub const INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED: &'static str
[src]
public static final INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED
pub const MENU_KEY: jchar
[src]
public static final MENU_KEY
pub const MENU_KEYCODE: i32
[src]
public static final MENU_KEYCODE
pub const QUERY: &'static str
[src]
public static final QUERY
pub const SHORTCUT_MIME_TYPE: &'static str
[src]
public static final SHORTCUT_MIME_TYPE
pub const SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG: &'static str
[src]
public static final SUGGEST_COLUMN_AUDIO_CHANNEL_CONFIG
pub const SUGGEST_COLUMN_CONTENT_TYPE: &'static str
[src]
public static final SUGGEST_COLUMN_CONTENT_TYPE
pub const SUGGEST_COLUMN_DURATION: &'static str
[src]
public static final SUGGEST_COLUMN_DURATION
pub const SUGGEST_COLUMN_FLAGS: &'static str
[src]
public static final SUGGEST_COLUMN_FLAGS
pub const SUGGEST_COLUMN_FORMAT: &'static str
[src]
public static final SUGGEST_COLUMN_FORMAT
pub const SUGGEST_COLUMN_ICON_1: &'static str
[src]
public static final SUGGEST_COLUMN_ICON_1
pub const SUGGEST_COLUMN_ICON_2: &'static str
[src]
public static final SUGGEST_COLUMN_ICON_2
pub const SUGGEST_COLUMN_INTENT_ACTION: &'static str
[src]
public static final SUGGEST_COLUMN_INTENT_ACTION
pub const SUGGEST_COLUMN_INTENT_DATA: &'static str
[src]
public static final SUGGEST_COLUMN_INTENT_DATA
pub const SUGGEST_COLUMN_INTENT_DATA_ID: &'static str
[src]
public static final SUGGEST_COLUMN_INTENT_DATA_ID
pub const SUGGEST_COLUMN_INTENT_EXTRA_DATA: &'static str
[src]
public static final SUGGEST_COLUMN_INTENT_EXTRA_DATA
pub const SUGGEST_COLUMN_IS_LIVE: &'static str
[src]
public static final SUGGEST_COLUMN_IS_LIVE
pub const SUGGEST_COLUMN_LAST_ACCESS_HINT: &'static str
[src]
public static final SUGGEST_COLUMN_LAST_ACCESS_HINT
pub const SUGGEST_COLUMN_PRODUCTION_YEAR: &'static str
[src]
public static final SUGGEST_COLUMN_PRODUCTION_YEAR
pub const SUGGEST_COLUMN_PURCHASE_PRICE: &'static str
[src]
public static final SUGGEST_COLUMN_PURCHASE_PRICE
pub const SUGGEST_COLUMN_QUERY: &'static str
[src]
public static final SUGGEST_COLUMN_QUERY
pub const SUGGEST_COLUMN_RATING_SCORE: &'static str
[src]
public static final SUGGEST_COLUMN_RATING_SCORE
pub const SUGGEST_COLUMN_RATING_STYLE: &'static str
[src]
public static final SUGGEST_COLUMN_RATING_STYLE
pub const SUGGEST_COLUMN_RENTAL_PRICE: &'static str
[src]
public static final SUGGEST_COLUMN_RENTAL_PRICE
pub const SUGGEST_COLUMN_RESULT_CARD_IMAGE: &'static str
[src]
public static final SUGGEST_COLUMN_RESULT_CARD_IMAGE
pub const SUGGEST_COLUMN_SHORTCUT_ID: &'static str
[src]
public static final SUGGEST_COLUMN_SHORTCUT_ID
pub const SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING: &'static str
[src]
public static final SUGGEST_COLUMN_SPINNER_WHILE_REFRESHING
pub const SUGGEST_COLUMN_TEXT_1: &'static str
[src]
public static final SUGGEST_COLUMN_TEXT_1
pub const SUGGEST_COLUMN_TEXT_2: &'static str
[src]
public static final SUGGEST_COLUMN_TEXT_2
pub const SUGGEST_COLUMN_TEXT_2_URL: &'static str
[src]
public static final SUGGEST_COLUMN_TEXT_2_URL
pub const SUGGEST_COLUMN_VIDEO_HEIGHT: &'static str
[src]
public static final SUGGEST_COLUMN_VIDEO_HEIGHT
pub const SUGGEST_COLUMN_VIDEO_WIDTH: &'static str
[src]
public static final SUGGEST_COLUMN_VIDEO_WIDTH
pub const SUGGEST_MIME_TYPE: &'static str
[src]
public static final SUGGEST_MIME_TYPE
pub const SUGGEST_NEVER_MAKE_SHORTCUT: &'static str
[src]
public static final SUGGEST_NEVER_MAKE_SHORTCUT
pub const SUGGEST_PARAMETER_LIMIT: &'static str
[src]
public static final SUGGEST_PARAMETER_LIMIT
pub const SUGGEST_URI_PATH_QUERY: &'static str
[src]
public static final SUGGEST_URI_PATH_QUERY
pub const SUGGEST_URI_PATH_SHORTCUT: &'static str
[src]
public static final SUGGEST_URI_PATH_SHORTCUT
pub const USER_QUERY: &'static str
[src]
public static final USER_QUERY
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for SearchManager
impl AsRef<DialogInterface_OnCancelListener> for SearchManager
fn as_ref(&self) -> &DialogInterface_OnCancelListener
impl AsRef<DialogInterface_OnDismissListener> for SearchManager
fn as_ref(&self) -> &DialogInterface_OnDismissListener
impl AsValidJObjectAndEnv for SearchManager
impl Deref for SearchManager
impl JniType for SearchManager
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for SearchManager
impl !Send for SearchManager
impl !Sync for SearchManager
impl Unpin for SearchManager
impl UnwindSafe for SearchManager
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>,