#include <services/IInformant.h>
Inheritance diagram for IInformed:
The OnInform() method included here has the method signature that IInformant using when broadcasting notifications back to its client. This interface provides a convenient way to create a target for receiving notifications from the informant, though the informant itself does not require that you use it.
When using this interface, you will need to supply SValue::String("OnInform") for your method on IInformant::RegisterForCallback() and IInformant::RegisterForCreation(), and SValue::String("org.openbinder.services.IInformed") for inspect on IInformant::RegisterForCreation().
Public Member Functions | |
status_t | LinkInformed (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0) |
virtual void | OnInform (const SValue &information, const SValue &cookie, const SValue &key)=0 |
Standard callback function from IInformant. | |
status_t | UnlinkInformed (const sptr< IBinder > &to, const SValue &mappings, uint32_t flags=0) |
Protected Member Functions | |
IInformed () | |
virtual | ~IInformed () |
|
|
|
|
|
|
|
Standard callback function from IInformant.
|
|
|