Package 

Class AsyncSecurityPolicy


  • @ExperimentalApi(value = https://github.com/grpc/grpc-java/issues/10566)@CheckReturnValue() 
    public abstract class AsyncSecurityPolicy
    extends SecurityPolicy
                        

    Decides whether a given Android UID is authorized to access some resource.

    This class provides the asynchronous version of SecurityPolicy, allowing implementations of authorization logic that involves slow or asynchronous calls without necessarily blocking the calling thread.

    • Method Summary

      Modifier and Type Method Description
      final Status checkAuthorization(int uid)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait