com.pax.dal
Interface IWLEKUManager
-
public interface IWLEKUManager
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface and Description static interfaceIWLEKUManager.WLEKUFormatListener
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidformatEKU(android.content.Context context, IWLEKUManager.WLEKUFormatListener listener)格式化EKU内存。Format the EKU memoryintgetEKUWpType()获取EKU写保护状态。Example Obtain the EKU write protection statusvoidsetEKUWpType(int type)设置EKU写保护Set EKU write protection.
-
-
-
Method Detail
-
setEKUWpType
void setEKUWpType(int type) throws WLEKUDevException
设置EKU写保护Set EKU write protection.- Parameters:
type-type = 0,清除写保护, type = 1,临时写保护,重启也能生效 type = 3,永久写保护,不能被清除,慎用type = 0: clear write protection. type = 1, write protection is temporary and takes effect after restart type = 3, write protection is permanent and cannot be cleared. Use with caution- Throws:
WLEKUDevException- Since:
- V4.11.00
-
getEKUWpType
int getEKUWpType() throws WLEKUDevException
获取EKU写保护状态。Example Obtain the EKU write protection status- Returns:
- 0-没有写保护; 1-临时写保护状态; 3-永久写保护状态; other-无效0- No write protection; 1- Temporary write protection status. 3- Permanent write protection status; other- invalid
- Throws:
WLEKUDevException- Since:
- V4.11.00
-
formatEKU
void formatEKU(android.content.Context context, IWLEKUManager.WLEKUFormatListener listener) throws WLEKUDevException
格式化EKU内存。Format the EKU memory- Parameters:
context-上下文contexlistener-- Throws:
WLEKUDevException- Since:
- V4.11.00
-
-