Enable and Disable MTP
System Requirement
API Functions
Enable/Disable MTP
void setMtp(boolean enable)
throws DeviceExceptionParameters
Check MTP Status
boolean getMtpStatus()
throws DeviceExceptionReturns
Snippet Code Flow
ISystemDevice systemDevice = POSTerminalAdvance.getInstance().getSystemDevice();
systemDevice.open(this.mContext);
systemDevice.setMtp(true);
systemDevice.getMtpStatus()
systemDevice.close();Resources
Last updated