Unhide camera api for set display orientation.
This commit is contained in:
@ -69645,6 +69645,19 @@
|
||||
visibility="public"
|
||||
>
|
||||
</method>
|
||||
<method name="setDisplayOrientation"
|
||||
return="void"
|
||||
abstract="false"
|
||||
native="true"
|
||||
synchronized="false"
|
||||
static="false"
|
||||
final="true"
|
||||
deprecated="not deprecated"
|
||||
visibility="public"
|
||||
>
|
||||
<parameter name="degrees" type="int">
|
||||
</parameter>
|
||||
</method>
|
||||
<method name="setErrorCallback"
|
||||
return="void"
|
||||
abstract="false"
|
||||
|
@ -552,8 +552,8 @@ public class Camera {
|
||||
* be called during preview.
|
||||
*
|
||||
* @param degrees the angle that the picture will be rotated clockwise.
|
||||
* Valid values are 0, 90, 180, and 270.
|
||||
* @hide
|
||||
* Valid values are 0, 90, 180, and 270. The starting
|
||||
* position is 0 (landscape).
|
||||
*/
|
||||
public native final void setDisplayOrientation(int degrees);
|
||||
|
||||
|
Reference in New Issue
Block a user