Esempio n. 1
0
 public PhotoDownload(NSUrl url)
 {
     downloadURL   = url;
     downloadState = new DownloadState();
     Progress      = new PhotoProgress {
         TotalUnitCount = -1,
         Kind           = NSProgress.KindFile
     };
     Progress.SetUserInfo(NSProgress.FileOperationKindDownloading, NSProgress.FileOperationKindKey);
 }
Esempio n. 2
0
		public PhotoDownload (NSUrl url)
		{
			downloadURL = url;
			downloadState = new DownloadState ();
			Progress = new PhotoProgress {
				TotalUnitCount = -1,
				Kind = NSProgress.KindFile
			};
			Progress.SetUserInfo (NSProgress.FileOperationKindDownloading, NSProgress.FileOperationKindKey);
		}