[]Struct jni_android_sys::android::app::slice::Slice_Builder

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

public class Slice.Builder

Required feature: "android-app-slice-Slice_Builder"

Methods

impl Slice_Builder

pub fn new_Uri_SliceSpec<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Uri>>,
    arg1: impl Into<Option<&'env SliceSpec>>
) -> Result<Local<'env, Slice_Builder>, Local<'env, Throwable>>
[src]

Builder

Required features: "android-app-slice-SliceSpec", "android-net-Uri"

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

Builder

Required features: "android-app-slice-Slice_Builder"

pub fn setCallerNeeded<'env>(
    &'env self,
    arg0: bool
) -> Result<Option<Local<'env, Slice_Builder>>, Local<'env, Throwable>>
[src]

setCallerNeeded

Required features: "android-app-slice-Slice_Builder"

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

addHints

Required features: "android-app-slice-Slice_Builder", "java-util-List"

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

addSubSlice

Required features: "android-app-slice-Slice", "android-app-slice-Slice_Builder", "java-lang-String"

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

addAction

Required features: "android-app-PendingIntent", "android-app-slice-Slice", "android-app-slice-Slice_Builder", "java-lang-String"

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

addText

Required features: "android-app-slice-Slice_Builder", "java-lang-CharSequence", "java-lang-String", "java-util-List"

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

addIcon

Required features: "android-app-slice-Slice_Builder", "android-graphics-drawable-Icon", "java-lang-String", "java-util-List"

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

addRemoteInput

Required features: "android-app-RemoteInput", "android-app-slice-Slice_Builder", "java-lang-String", "java-util-List"

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

addInt

Required features: "android-app-slice-Slice_Builder", "java-lang-String", "java-util-List"

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

addLong

Required features: "android-app-slice-Slice_Builder", "java-lang-String", "java-util-List"

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

addBundle

Required features: "android-app-slice-Slice_Builder", "android-os-Bundle", "java-lang-String", "java-util-List"

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

build

Required features: "android-app-slice-Slice"

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 Slice_Builder

impl AsValidJObjectAndEnv for Slice_Builder

impl Deref for Slice_Builder

type Target = Object

The resulting type after dereferencing.

impl JniType for Slice_Builder

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.