Package 

Enum DataSource

  • All Implemented Interfaces:
    java.io.Serializable , java.lang.Comparable

    
    public enum DataSource
    
                        

    Indicates the origin of some retrieved data.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      LOCAL

      Indicates data was probably retrieved locally from the device, although it may have beenobtained through a content provider that may have obtained the data from a remote source.

      REMOTE

      Indicates data was retrieved from a remote source other than the device.

      DATA_DISK_CACHE

      Indicates data was retrieved unmodified from the on device cache.

      RESOURCE_DISK_CACHE

      Indicates data was retrieved from modified content in the on device cache.

      MEMORY_CACHE

      Indicates data was retrieved from the in memory cache.

    • Method Summary

      Modifier and Type Method Description
      static Array<DataSource> values()
      static DataSource valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait