Rohit
Rohit

Reputation: 516

How to make copy of android.media.Image object?

I need to make a copy of "android.media.Image" object for a solution, but since the class is defined abstract we can not make instances of it ourselves.

I am getting my instance of this object from ((ImageReader)reader).acquireLatestImage();

Is there any workaround that I can get two different clone instances of the object returned by this method?

Any suggestions are much appreciated.

Upvotes: 4

Views: 1130

Answers (0)

Related Questions