getBrowser
public Browser getBrowser ( int browserPid )
Parameters:
browserPid - Process ID of browser.
Returns:
Returns the browser instance based on the process ID.
getCallingBrowser
public Browser getCallingBrowser ( )
Returns:
Returns the browser that is currently communicating with the Add-on. If the current thread is not currently executing an incoming transaction, returns null.
getInstance
public static AddonService getInstance ( )
Returns:
Returns the instance of AddonService. If this service is not running, returns null.
obtainOnClickListenerMessage
public Message obtainOnClickListenerMessage (OnClickListener listener)
Parameters:
listener
Returns: