@ Deprecated public void start ( final Listener listener ) { if ( listener instanceof Observer ) { start ( ( Observer ) listener ) ; } else { start ( new Observer ( ) { @ Override public void onError ( Status error ) { listener . onError ( error ) ; } @ Override public void onResult ( ResolutionResult resolutionResult ) { listener . onAddresses ( resolutionResult . getAddresses ( ) , resolutionResult . getAttributes ( ) ) ; } } ) ; } }
Starts the resolution .