Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (questionnaire in json["questionnaires"]) {
- for (question in questionnaire["questions"]) {
- for (choice in questions["choices"]) {
- if (choice["contentType"] == "image") {
- imageURLToDownload = CDN_BASE_URL + choice["content"];
- file = DownloadImageURL(imageURLToDownload);
- SaveFileToLocalDeviceWithName(file, choice["content"]);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement