[]Struct jni_android_sys::android::app::SearchManager

#[repr(transparent)]
pub struct 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]

startSearch

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]

getGlobalSearchActivity

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]

triggerSearch

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]

setOnDismissListener

Required features: "android-app-SearchManager_OnDismissListener"

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

setOnCancelListener

Required features: "android-app-SearchManager_OnCancelListener"

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

Deprecated

onCancel

Required features: "android-content-DialogInterface"

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

Deprecated

onDismiss

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]

getSearchableInfo

Required features: "android-app-SearchableInfo", "android-content-ComponentName"

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

getSearchablesInGlobalSearch

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

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

public static final INTENT_ACTION_GLOBAL_SEARCH

pub const INTENT_ACTION_SEARCHABLES_CHANGED: &'static str[src]

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]

pub const INTENT_ACTION_WEB_SEARCH_SETTINGS: &'static str[src]

pub const INTENT_GLOBAL_SEARCH_ACTIVITY_CHANGED: &'static str[src]

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]

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]

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]

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]

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]

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 SearchManager

impl AsRef<DialogInterface_OnCancelListener> for SearchManager

impl AsRef<DialogInterface_OnDismissListener> for SearchManager

impl AsValidJObjectAndEnv for SearchManager

impl Deref for SearchManager

type Target = Object

The resulting type after dereferencing.

impl JniType for SearchManager

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.