package com.adealink.frame.imkit.model;

import androidx.annotation.IntDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

public class State {
    @IntDef({NORMAL, ERROR, PROGRESS, CANCEL, PAUSE, SUCCESS})
    @Retention(RetentionPolicy.SOURCE)
    public @interface Value {
        // default implementation ignored
    }

    public static final int NORMAL = 0;
    public static final int ERROR = 1;
    public static final int PROGRESS = 2;
    public static final int CANCEL = 3;
    public static final int PAUSE = 4;
    public static final int SUCCESS = 5;
}
