Package:
android.hardware.usb@1.1
IUsbCallback
interface IUsbCallback extends @1.0::IUsbCallback
Callback object used for all the IUsb async methods which expects a result.Caller is expected to register the callback object using setCallback method to receive updates on the PortStatus.
Methods
notifyPortStatusChange_1_1
oneway notifyPortStatusChange_1_1 (vec<PortStatus_1_1> currentPortStatus, Status retval)
Used to convey the current port status to the caller.Must be called either when PortState changes due to the port partner or when caller requested for the PortStatus update through queryPortStatus.
Details | |||||
---|---|---|---|---|---|
RPC mode |
|
||||
Parameters |
|