Back to Fresco

Priority

docs/javadoc/reference/com/facebook/imagepipeline/common/Priority.html

3.6.013.6 KB
Original Source

Fresco

|

|

Packages | Classes

Classes

Annotations

Enums

Exceptions

Packages | Classes

Summary: Enums | Methods | Inherited Methods | [Expand All]

public final enum

Priority

extends Enum<E extends Enum<E>>

| java.lang.Object | | ↳ | java.lang.Enum<E extends java.lang.Enum<E>> | | | ↳ | com.facebook.imagepipeline.common.Priority |

Class Overview

Priority levels recognized by the image pipeline.

Summary

Enum Values
Priority
Priority
Priority
Public Methods
static Priority
Gets the higher priority among the two.
static Priority
final static Priority[]

| [Expand] Inherited Methods | | --- | | From class java.lang.Enum

| final Object | clone() | | final int | compareTo(E arg0) | | int | compareTo(Object arg0) | | final boolean | equals(Object arg0) | | final void | finalize() | | final Class<E> | getDeclaringClass() | | final int | hashCode() | | final String | name() | | final int | ordinal() | | String | toString() | | static <T extends Enum<T>> T | valueOf(Class<T> arg0, String arg1) |

| | From class java.lang.Object

| Object | clone() | | boolean | equals(Object arg0) | | void | finalize() | | final Class<?> | getClass() | | int | hashCode() | | final void | notify() | | final void | notifyAll() | | String | toString() | | final void | wait(long arg0, int arg1) | | final void | wait(long arg0) | | final void | wait() |

| | From interface java.lang.Comparable

| abstract int | compareTo(T arg0) |

|

Enum Values

public static final Priority HIGH

Highest priority level. Used for images that are currently visible on screen.

public static final Priority LOW

Lowest priority level. Used for prefetches of non-visible images.

public static final Priority MEDIUM

Medium priority level. Used for warming of images that might soon get visible.

Public Methods

public static Priority getHigherPriority(Priority priority1, Priority priority2)

Gets the higher priority among the two.

Returns
  • higher priority

public static Priority valueOf(String name)

public static final Priority[] values()

+Generated by Doclava. +