在StartCommand中为服务返回什么
我一直在查看文档,有时返回,有时它返回以下内容:onStartCommand()
START_NOT_STICKY
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
// TODO Auto-generated method stub
return super.onStartCommand(intent, flags, startId);
}
我现在对为什么某些服务返回感到困惑super.onStartCommand(intent, flags, startId);