Executors.PrivilegedCallable(ICallable) Method

Definition

Legacy security code; do not use.

[Android.Runtime.Register("privilegedCallable", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public static Java.Util.Concurrent.ICallable? PrivilegedCallable (Java.Util.Concurrent.ICallable? callable);
[<Android.Runtime.Register("privilegedCallable", "(Ljava/util/concurrent/Callable;)Ljava/util/concurrent/Callable;", "")>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
static member PrivilegedCallable : Java.Util.Concurrent.ICallable -> Java.Util.Concurrent.ICallable

Parameters

callable
ICallable

Returns

Attributes

Remarks

Legacy security code; do not use.

This member is deprecated. This method is only useful in conjunction with SecurityManager the Security Manager, which is deprecated and subject to removal in a future release. Consequently, this method is also deprecated and subject to removal. There is no replacement for the Security Manager or this method.

Java documentation for java.util.concurrent.Executors.privilegedCallable(java.util.concurrent.Callable<T>).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to