fix
lmw
2025-03-04 449bdb5d2b5bf7b272ca5cda4c066f9a65040064
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.lzf.easyfloat.interfaces;
 
import android.content.Context;
 
import org.jetbrains.annotations.NotNull;
 
/**
 * @author: liuzhenfeng
 * @function: 通过接口获取屏幕的有效显示高度
 * @date: 2020-02-16  16:21
 */
public interface OnDisplayHeight {
 
    /**
     * 获取屏幕有效的显示高度,不包含虚拟导航栏
     *
     * @param context ApplicationContext
     * @return 高度值(int类型)
     */
    int getDisplayRealHeight(@NotNull Context context);
}