public bool doScene(DownloadContextBase <TRequest, TResponse, TBuilder> context, int startPos, int offsetPos, int endPos, bool useHttp) { Log.d("DownNetSceneBaseEx", string.Concat(new object[] { "netscene startup, start = ", startPos, ", offset = ", offsetPos, ", end =", endPos })); this.mContext = context; this.mStartPos = startPos; this.mEndPos = endPos; this.mOffsetPos = offsetPos; this.mUseHttp = useHttp; if (this.mOffsetPos >= this.mEndPos) { Log.e("DownNetSceneBaseEx", "no need data for download video scene."); return(false); } return(this.doDownScene()); }
public void doCompleted() { base.cancel(); this.mContext = null; }