belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
FontsContractCompat.FontInfo
  public
  static
  
  
  class
  FontsContractCompat.FontInfo
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.v4.provider.FontsContractCompat.FontInfo | 
Object represent a font entry in the family returned from fetchFonts(Context, CancellationSignal, FontRequest).
Summary
| Public methods | |
|---|---|
| 
        
        
        
        
        
        int | 
      getResultCode()
      Returns result code. | 
| 
        
        
        
        
        
        int | 
      getTtcIndex()
      Returns the index to be used to access this font when accessing a TTC file. | 
| 
        
        
        
        
        
        Uri | 
      getUri()
      Returns a URI associated to this record. | 
| 
        
        
        
        
        
        int | 
      getWeight()
      Returns the weight value for this font. | 
| 
        
        
        
        
        
        boolean | 
      isItalic()
      Returns whether this font is italic. | 
| Inherited methods | |
|---|---|
|  From
class 
  
    java.lang.Object
  
 | |
Public methods
getResultCode
int getResultCode ()
Returns result code.
 RESULT_CODE
| Returns | |
|---|---|
| int | |
getTtcIndex
int getTtcIndex ()
Returns the index to be used to access this font when accessing a TTC file.
| Returns | |
|---|---|
| int | |
getWeight
int getWeight ()
Returns the weight value for this font.
| Returns | |
|---|---|
| int | Value is between 1 and 1000 inclusive. | 
isItalic
boolean isItalic ()
Returns whether this font is italic.
| Returns | |
|---|---|
| boolean | |
