001 002package com.pax.dal; 003 004import com.pax.dal.exceptions.WhiteListControlDevException; 005 /** 006 * <div class="zh">低内存保活应用白名单管理。</div> 007 * <div class="en">Low memory keepalive application whitelist management.</div> 008 * @since V4.11.00 009 */ 010public interface IWhiteListControl { 011 /** 012 * <div class="zh">增加低内存保活应用白名单 </div> <div class="en">Add the whitelist of low-memory keepalive applications. </div> 013 * 014 * @param dataIn 015 * <div class="zh"> 应用白名单数据 016 * 白名单格式如下: 017 * ##notes \n 018 * packageName\n 019 * packageName\n 020 * packageName 021 * 白名单按上述格式生成后,需要进行百富应用签名</div> 022 * <div class="en"> Application whitelist data 023 * The whitelist format is as follows: 024 * ##notes \n 025 * packageName\n 026 * packageName\n 027 * packageName 028 * After the whitelist is generated in the preceding format, you need to sign the whitelist </div> 029 * 030 * @throws WhiteListControlDevException 031 * 032 * @since V4.11.00 033 */ 034 void addLmkdAppWhiteList(byte[] dataIn) throws WhiteListControlDevException; 035 036 /** 037 * <div class="zh">删除低内存保活应用白名单。</div> <div class="en"> Example Delete the low memory keepalive application whitelist </div> 038 * 039 * @throws WhiteListControlDevException 040 * 041 * @since V4.11.00 042 */ 043 void deleteLmkdAppWhiteList() throws WhiteListControlDevException; 044 045}