protected void GetVideosInFolder(VimeoFolder folder) { var settings = target as VimeoSettings; if (!settings.Authenticated()) { return; } InitAPI(); settings.vimeoVideos.Clear(); settings.vimeoVideos.Add( new VimeoVideo("Loading...", null) ); api.OnRequestComplete += GetVideosComplete; api.OnError += OnRequestError; api.GetVideosInFolder(folder); }
public void GetVideosInFolder() { var settings = target as VimeoSettings; if (!settings.Authenticated()) { return; } InitAPI(); settings.vimeoVideos.Clear(); settings.vimeoVideos.Add( new VimeoVideo("Loading...", null) ); api.OnRequestComplete += GetVideosComplete; api.OnError += OnRequestError; api.GetVideosInFolder(settings.currentFolder, "name,uri,description"); // conserve description }