What\'s the difference in calling stopSelf() , stopSelf(int) or stopService(new Intent(this,MyServiceClass.class)) inside
stopSelf()
stopSelf(int)
stopService(new Intent(this,MyServiceClass.class))
stopSelf()=Stop the service, if it was previously started. stopSelf(int startId)=Old version of stopSelfResult(int) that doesn't return a result. stopSelfResult(int startId)=Stop the service if the most recent time it was started was startId.Its return boolean result.
stopSelf()=Stop the service, if it was previously started.
stopSelf(int startId)=Old version of stopSelfResult(int) that doesn't return a result.
stopSelfResult(int startId)=Stop the service if the most recent time it was started was startId.Its return boolean result.