fm/qcom/fmradio/FmReceiver.java
public boolean registerClient(FmRxEvCallbacks callback){
      boolean status;
      status = super.registerClient(callback);
      /* Do Receiver Specific Stuff here.*/

      return status;
   }
/**
   *    Registers a callback for FM receiver event
   *           notifications.
   *    <p>
   *    This is a synchronous command used to register for event
   *    notifications from the FM receiver driver. Since the FM
   *    driver performs some tasks asynchronously, this function
   *    allows the client to receive information asynchronously.
   *    <p>
   *    When calling this function, the client must pass a callback
   *    function which will be used to deliver asynchronous events.
   *    The argument callback must be a non-NULL value.  If a NULL
   *    value is passed to this function, the registration will
   *    fail.
   *    <p>
   *    The client can choose which events will be sent from the
   *    receiver driver by simply implementing functions for events
   *    it wishes to receive.
   *    <p>
   *    @param callback the callbacks to handle the events
   *                               events from the FM receiver.
   *    @return true if Callback registered, false if Callback
   *            registration failed.
   *    <p>
   *    @see #acquire
   *    @see #unregisterClient
   *
   */
Registers a callback for FM receiver event
notifications.

This is a synchronous command used to register for event
notifications from the FM receiver driver. Since the FM
driver performs some tasks asynchronously, this function
allows the client to receive information asynchronously.

When calling this function, the client must pass a callback
function which will be used to deliver asynchronous events.
The argument callback must be a non-NULL value.  If a NULL
value is passed to this function, the registration will
fail.

The client can choose which events will be sent from the
receiver driver by simply implementing functions for events
it wishes to receive.

@param callback the callbacks to handle the events
events from the FM receiver.
@return true if Callback registered, false if Callback
registration failed.

@see #acquire
@see #unregisterClient
Registers a callback for FM receiver event notifications . This is a synchronous command used to register for event notifications from the FM receiver driver . Since the FM driver performs some tasks asynchronously this function allows the client to receive information asynchronously . When calling this function the client must pass a callback function which will be used to deliver asynchronous events . The argument callback must be a non - NULL value . If a NULL value is passed to this function the registration will fail . The client can choose which events will be sent from the receiver driver by simply implementing functions for events it wishes to receive . @param callback the callbacks to handle the events events from the FM receiver . @return true if Callback registered false if Callback registration failed . @see #acquire @see #unregisterClient
public boolean registerClient(FmRxEvCallbacks callback){
      boolean status;
      status = super.registerClient(callback);
      /* Do Receiver Specific Stuff here.*/
      return status;
   }
public boolean registerClient ( FmRxEvCallbacks callback ) { boolean status ; status = super . registerClient ( callback ) ; /* Do Receiver Specific Stuff here.*/ return status ; }
Registers a callback for FM receiver event
           notifications.
Registers a callback for FM receiver event notifications .