cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know what we learned at IBC? Check out our learnings on media, remote working and more right here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

not possible to access the thumbnail from getThumbnailBatch in swiftydropbox

not possible to access the thumbnail from getThumbnailBatch in swiftydropbox

muthulingam
Explorer | Level 3

DropboxClientsManager.authorizedClient?.files.getThumbnailBatch(entries: subList).response(queue: DispatchQueue.global(qos: .default), completionHandler: { (dataResponse, error) in

                                                

                if((dataResponse) != nil)

                {

                    let results = dataResponse?.entries

                    

                    //print("getThumbnailBatch dataResponse:",results)

                    

                    results?.forEach { result in

                        

                        //let descstr = result.description

                        

                       

                        

                    }

                    

                    

                }

                

                

            })

 

here "result" is  GetThumbnailBatchResultEntry ... that is "ENUM" ..

 

can anyone help me, how to get the "

"thumbnail" and "metadata" from this ..

 

result.thumbnail and result.metadata throws the compilation error ...

 

so how i can access the "thumbnail and "metadata"

 

1 Reply 1

Greg-DB
Dropbox Staff

I see you also posted this on GitHub so I'll close this and follow up with you there: https://github.com/dropbox/SwiftyDropbox/issues/349

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?