Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
    
    GetCredentialRequest
    class GetCredentialRequest : Parcelable
    
    Request for getting user's credential from a given credential provider. 
    A credential provider will receive this request once the user selects a given CredentialEntry, or RemoteEntry on the selector, that was sourced from provider's initial response to CredentialProviderService.onBeginGetCredential.
    Summary
    
      
        
          | Inherited constants | 
        
        
          
            From class Parcelable
              
                
                  
                    Int | 
                    CONTENTS_FILE_DESCRIPTOR
                      
                         Descriptor bit used with describeContents(): indicates that the Parcelable object's flattened representation includes a file descriptor. 
                      
                     | 
                   
                  
                    Int | 
                    PARCELABLE_WRITE_RETURN_VALUE
                      
                         Flag for use with writeToParcel: the object being written is a return value, that is the result of a function such as "Parcelable someFunction()", "void someFunction(out Parcelable)", or "void someFunction(inout Parcelable)". Some implementations may want to release resources at this point. 
                      
                     | 
                   
                
               
             
           | 
        
      
    
    
    
      
        
          | Public methods | 
        
        
          | Int | 
          
            
            
           | 
        
        
          | CallingAppInfo | 
          
            
             Returns info pertaining to the app requesting credentials. 
           | 
        
        
          | MutableList<CredentialOption!> | 
          
            
             Returns a list of options containing parameters needed to return a given type of credential. 
           | 
        
        
          | Unit | 
          
            
             Flatten this object in to a Parcel. 
           | 
        
      
    
    
    Public constructors
    
    Public methods
    
      describeContents
      
      fun describeContents(): Int
      
     
    
      getCallingAppInfo
      
      fun getCallingAppInfo(): CallingAppInfo
      Returns info pertaining to the app requesting credentials.
      
     
    
    
      writeToParcel
      
      fun writeToParcel(
    dest: Parcel, 
    flags: Int
): Unit
      Flatten this object in to a Parcel.
      
     
    Properties
    
  
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-10 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-10 UTC."],[],[]]