Code example for Messenger

Methods: getBinder

0
	} 
 
	@Override 
	public IBinder onBind(Intent arg0) {
		Log.d(LOG_TAG, "ServicePlatformEventsRemote onBind");
		return inMessenger.getBinder();
	} 
 
	@Override 
	public void onDestroy() { 
		Log.i(LOG_TAG, "ServicePlatformEventsRemote terminating");
	} 
 
	/** 
	 * Factory method to get instance of {@link PubsubClientAndroid} 
	 * @return PubsubClientAndroid 
	 */ 
	protected PubsubHelper createPubSubClientAndroid() { 
		return new PubsubHelper(this);
	}