[]Struct jni_android_sys::java::lang::SecurityManager

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

public class SecurityManager

Required feature: "java-lang-SecurityManager"

Methods

impl SecurityManager

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

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

Deprecated

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

getSecurityContext

Required features: "java-lang-Object"

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

checkPermission

Required features: "java-security-Permission"

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

checkPermission

Required features: "java-lang-Object", "java-security-Permission"

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

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

checkAccess

Required features: "java-lang-Thread"

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

checkAccess

Required features: "java-lang-ThreadGroup"

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

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

checkExec

Required features: "java-lang-String"

checkLink

Required features: "java-lang-String"

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

checkRead

Required features: "java-io-FileDescriptor"

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

checkRead

Required features: "java-lang-String"

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

checkRead

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

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

checkWrite

Required features: "java-io-FileDescriptor"

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

checkWrite

Required features: "java-lang-String"

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

checkDelete

Required features: "java-lang-String"

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

checkConnect

Required features: "java-lang-String"

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

checkConnect

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

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

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

checkAccept

Required features: "java-lang-String"

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

checkMulticast

Required features: "java-net-InetAddress"

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

Deprecated

checkMulticast

Required features: "java-net-InetAddress"

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

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

checkPropertyAccess

Required features: "java-lang-String"

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

checkTopLevelWindow

Required features: "java-lang-Object"

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

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

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

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

checkPackageAccess

Required features: "java-lang-String"

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

checkPackageDefinition

Required features: "java-lang-String"

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

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

checkMemberAccess

Required features: "java-lang-Class"

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

checkSecurityAccess

Required features: "java-lang-String"

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

getThreadGroup

Required features: "java-lang-ThreadGroup"

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 SecurityManager

impl AsValidJObjectAndEnv for SecurityManager

impl Deref for SecurityManager

type Target = Object

The resulting type after dereferencing.

impl JniType for SecurityManager

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.