added in version 22.1.0
  
    
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
TextDirectionHeuristicCompat
  public
  
  
  
  interface
  TextDirectionHeuristicCompat
  
  
  
| android.support.v4.text.TextDirectionHeuristicCompat | 
Interface for objects that use a heuristic for guessing at the paragraph direction by examining text.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        boolean | 
      isRtl(char[] array, int start, int count)
      Guess if a chars array is in the RTL direction or not. | 
| 
        abstract
        
        
        
        
        boolean | 
      isRtl(CharSequence cs, int start, int count)
      Guess if a  | 
Public methods
isRtl
    added in version 22.1.0
      
  
    
boolean isRtl (char[] array, 
                int start, 
                int count)Guess if a chars array is in the RTL direction or not.
| Parameters | |
|---|---|
| array | char: the char array. | 
| start | int: start index, inclusive. | 
| count | int: the length to check, must not be negative and not greater thanarray.length - start. | 
| Returns | |
|---|---|
| boolean | true if all chars in the range are to be considered in a RTL direction, false otherwise. | 
isRtl
    added in version 22.1.0
      
  
    
boolean isRtl (CharSequence cs, 
                int start, 
                int count)Guess if a CharSequence is in the RTL direction or not.
| Parameters | |
|---|---|
| cs | CharSequence: the CharSequence. | 
| start | int: start index, inclusive. | 
| count | int: the length to check, must not be negative and not greater thanCharSequence.length() - start. | 
| Returns | |
|---|---|
| boolean | true if all chars in the range are to be considered in a RTL direction, false otherwise. | 
