में एक नया Camera.Size प्रारंभ करने में कैसे उदाहरण के लिए:एंड्रॉयड
int width = 720;
int height = 1280;
मैं एक Camera.Size बनाना चाहते हैं।
Camera.Size size = new Camera.Size(width,height);
लेकिन इसमें कुछ त्रुटि है।
No enclosing instance of type Camera is accessible. Must qualify the allocation with an enclosing instance of type Camera (e.g. x.new A() where x is an instance of Camera).
यह मेरे लिए काम किया। आपका बहुत बहुत धन्यवाद! मुझे नहीं पता था कि मुझे कैमरे का उपयोग करने की ज़रूरत है। नया। बहुत बढ़िया! – sunlover3