Added in API level 33
    Builder
class Builder
| kotlin.Any | |
| ↳ | android.content.pm.Capability.Builder | 
Builder class for Capability.
Summary
| Public constructors | |
|---|---|
| 
            
             Constructor.  | 
        |
| Public methods | |
|---|---|
| Capability | 
            build()Creates an instance of   | 
        
Public constructors
Builder
Added in API level 33
      Builder(name: String)
Constructor.
| Parameters | |
|---|---|
name | 
            String: Name of the capability, usually maps to a built-in intent, e.g. actions.intent.GET_MESSAGE. Note the character "/" is not permitted. This value cannot be null. | 
          
| Exceptions | |
|---|---|
java.lang.IllegalArgumentException | 
            If specified capability name contains the character "/". | 
Public methods
build
Added in API level 33
      fun build(): Capability
Creates an instance of Capability
| Return | |
|---|---|
Capability | 
            This value cannot be null. |