public void AddOutProcess(Job job)
        {
            JobQueue.Enqueue(job);
            IBackgroundTransfer transfer = null;
#if __IOS__
           transfer = new BackgroundTransferTaskIOS();
#endif
            transfer.Init("com.test.job" + job.Id, job.Url, TransferTaskMode.Download);
            transfer.Start();
        }
示例#2
0
        public void AddOutProcess(Job job)
        {
            JobQueue.Enqueue(job);
            IBackgroundTransfer transfer = null;

#if __IOS__
            transfer = new BackgroundTransferTaskIOS();
#endif
            transfer.Init("com.test.job" + job.Id, job.Url, TransferTaskMode.Download);
            transfer.Start();
        }