public static Goro from ( final IBinder binder ) { if ( binder instanceof GoroService . GoroBinder ) { return ( ( GoroService . GoroBinder ) binder ) . goro ( ) ; } throw new IllegalArgumentException ( "Cannot get Goro from " + binder ) ; }
Gives access to Goro instance that is provided by a service .