package com.sheep.gamegroup.model.api;

import android.support.annotation.IntDef;

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

/**
 * Created by realicing on 2018/8/28.
 * realicing@sina.com
 */
public interface ICallBack<T> {
    T call(@CALL_BACK_TYPE int type, Object...args);
    int DECODE_PNG = 1;
    int IS_RECORD = 2;

    @IntDef({DECODE_PNG, IS_RECORD})
    @Retention(RetentionPolicy.SOURCE)
    @interface CALL_BACK_TYPE {
    }
}
