Mobile-SDK-Android icon indicating copy to clipboard operation
Mobile-SDK-Android copied to clipboard

[Help] State FetchMediaTaskScheduler is UNKNOWN

Open huongta157 opened this issue 1 year ago • 1 comments

val task = FetchMediaTask(mediaFile, FetchMediaTaskContent.PREVIEW) { media, content, _ ->
            lifecycleScope.launch(Dispatchers.Main) {
                Glide.with(requireContext())
                    .load(media?.preview)
                    .into(binding.photoView)
                scheduler?.removeTask(media, content)
            }
        }
        Log.i(TAG, "handleDisplayPhotoView state: ${scheduler?.state}")
        scheduler?.moveTaskToEnd(task)

I used this code to get preview of photo, but scheduler state is UNKNOWN and not return result. Please help me!

huongta157 avatar Apr 19 '24 09:04 huongta157

Agent comment from yating.liao in Zendesk ticket #105552:

Could you provide me with a method to reproduce the scheduler state as UNKNOWN? Also, what is the model of the drone you are using?

Do you encounter the same issue when using the MSDK sample code?

°°°

dji-dev avatar Apr 22 '24 12:04 dji-dev