Guest User

Untitled

a guest
Dec 18th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public static void LoadMedia(string aPath, StorageReference aRef)
  2. {
  3. aRef.GetFileAsync(aPath).ContinueWith(task =>
  4. {
  5. if (task.IsFaulted || task.IsCanceled)
  6. {
  7. Debug.Log(task.Exception);
  8. }
  9. else
  10. {
  11. //do things needed to be done
  12. }
  13. });
  14.  
  15. }
Add Comment
Please, Sign In to add comment