/**@class android.inputmethodservice.MultiClientInputMethodServiceDelegate.ServiceCallback Top-level callbacks for this {@link android.inputmethodservice.MultiClientInputMethodServiceDelegate}. */ var ServiceCallback = { /**Called when this {@link android.inputmethodservice.MultiClientInputMethodServiceDelegate} is recognized by the system and privileged operations like {@link #createInputMethodWindowToken}(int) are ready to be called. */ initialized : function( ) {}, /**Called when a new IME client is recognized by the system. <p>Once the IME receives this callback, the IME can start interacting with the IME client by calling {@link #acceptClient(int, android.inputmethodservice.MultiClientInputMethodServiceDelegate.ClientCallback, android.inputmethodservice.Keyboard.KeyEvent.DispatcherState, Looper)}. </p> @param {Number} clientId ID of the client. @param {Number} uid UID of the IME client. @param {Number} pid PID of the IME client. @param {Number} selfReportedDisplayId display ID reported from the IME client. Since the system does not validate this display ID, and at any time the IME client can lose the access to this display ID, the IME needs to call {@link #isUidAllowedOnDisplay(int, int)} to check whether the IME client still has access to this display or not. */ addClient : function( ) {}, /**Called when an IME client is being destroyed. @param {Number} clientId ID of the client. */ removeClient : function( ) {}, };