DisplayManager.DisplayListener
  public
  static
  
  
  interface
  DisplayManager.DisplayListener
  
  
  
| android.hardware.display.DisplayManager.DisplayListener | 
Listens for changes in available display devices.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        void | 
      onDisplayAdded(int displayId)
      Called whenever a logical display has been added to the system. | 
| 
        abstract
        
        
        
        
        void | 
      onDisplayChanged(int displayId)
      Called whenever the properties of a logical  | 
| 
        abstract
        
        
        
        
        void | 
      onDisplayRemoved(int displayId)
      Called whenever a logical display has been removed from the system. | 
Public methods
onDisplayAdded
public abstract void onDisplayAdded (int displayId)
Called whenever a logical display has been added to the system.
 Use DisplayManager.getDisplay to get more information about
 the display.
| Parameters | |
|---|---|
| displayId | int: The id of the logical display that was added. | 
onDisplayChanged
public abstract void onDisplayChanged (int displayId)
Called whenever the properties of a logical Display,
 such as size and density, have changed.
| Parameters | |
|---|---|
| displayId | int: The id of the logical display that changed. | 
onDisplayRemoved
public abstract void onDisplayRemoved (int displayId)
Called whenever a logical display has been removed from the system.
| Parameters | |
|---|---|
| displayId | int: The id of the logical display that was removed. | 
