Executors.PrivilegedCallable(ICallable) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.