[]Struct jni_android_sys::java::lang::ThreadGroup

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

public class ThreadGroup

Required feature: "java-lang-ThreadGroup"

Methods

impl ThreadGroup

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

ThreadGroup

Required features: "java-lang-String"

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

ThreadGroup

Required features: "java-lang-String", "java-lang-ThreadGroup"

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

getName

Required features: "java-lang-String"

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

getParent

Required features: "java-lang-ThreadGroup"

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

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

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

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

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

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

parentOf

Required features: "java-lang-ThreadGroup"

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

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

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

enumerate

Required features: "java-lang-Thread"

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

enumerate

Required features: "java-lang-Thread"

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

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

enumerate

Required features: "java-lang-ThreadGroup"

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

enumerate

Required features: "java-lang-ThreadGroup"

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

Deprecated

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

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

Deprecated

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

Deprecated

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

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

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

uncaughtException

Required features: "java-lang-Thread", "java-lang-Throwable"

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

Deprecated

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

toString

Required features: "java-lang-String"

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 ThreadGroup

impl AsRef<Thread_UncaughtExceptionHandler> for ThreadGroup

impl AsValidJObjectAndEnv for ThreadGroup

impl Deref for ThreadGroup

type Target = Object

The resulting type after dereferencing.

impl JniType for ThreadGroup

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.