| java.lang.Object | |
| ↳ | android.support.v4.app.RemoteInput.Builder | 
       Builder class for
       
        
         RemoteInput
        
       
       objects.
      
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Create a builder object for
           
        
           
            RemoteInput
           
          
          objects.
          | 
       ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Merge additional metadata into this builder.
          
         | 
       ||||||||||
| 
          | 
        
          
          Combine all of the options that have been set and return a new
           
        
           
            RemoteInput
           
          
          object.
          | 
       ||||||||||
| 
          | 
        
          
          Get the metadata Bundle used by this Builder.
          
         | 
       ||||||||||
| 
          | 
        
          
          Specifies whether the user can provide arbitrary values.
          
         | 
       ||||||||||
| 
          | 
        
          
          Specifies choices available to the user to satisfy this input.
          
         | 
       ||||||||||
| 
          | 
        
          
          Set a label to be displayed to the user when collecting this input.
          
         | 
       ||||||||||
| 
         
          [Expand]
         
          
          Inherited Methods
          
         | 
       |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From class
         
          java.lang.Object
         
          | 
       |||||||||||
         Create a builder object for
         
          
           RemoteInput
          
         
         objects.
        
| resultKey | the Bundle key that refers to this input when collected from the user | 
|---|
Merge additional metadata into this builder.
Values within the Bundle will replace existing extras values in this Builder.
         Combine all of the options that have been set and return a new
         
          
           RemoteInput
          
         
         object.
        
Get the metadata Bundle used by this Builder.
The returned Bundle is shared with this Builder.
Specifies whether the user can provide arbitrary values.
| allowFreeFormInput | 
           The default is
           
            true
           
           .
         If you specify
           
            false
           
           , you must provide a non-null
         and non-empty array to
           
            
             setChoices(CharSequence[])
            
           
           or an
           
            
             IllegalArgumentException
            
           
           is thrown.
           | 
         
|---|
Specifies choices available to the user to satisfy this input.
| choices | 
           an array of pre-defined choices for users input.
        You must provide a non-null and non-empty array if
        you disabled free form input using
           
            
             setAllowFreeFormInput(boolean)
            
           
           .
           | 
         
|---|
Set a label to be displayed to the user when collecting this input.
| label | The label to show to users when they input a response. | 
|---|