Package org.angular.ts.ng
Interface NativeCameraStatus
@JsType(isNative=true,
name="ng.NativeCameraStatus",
namespace="<global>")
public interface NativeCameraStatus
Availability and permission state for the native camera.
-
Method Summary
Modifier and TypeMethodDescriptionstatic NativeCameraStatuscreate()Public NativeCameraStatus.permission member exposed by the AngularTS namespace contract.booleanPublic NativeCameraStatus.available member exposed by the AngularTS namespace contract.booleanPublic NativeCameraStatus.granted member exposed by the AngularTS namespace contract.voidsetAvailable(boolean available) Public NativeCameraStatus.available member exposed by the AngularTS namespace contract.voidsetGranted(boolean granted) Public NativeCameraStatus.granted member exposed by the AngularTS namespace contract.voidsetPermission(String permission) Public NativeCameraStatus.permission member exposed by the AngularTS namespace contract.
-
Method Details
-
create
-
getPermission
Public NativeCameraStatus.permission member exposed by the AngularTS namespace contract. -
isAvailable
@JsProperty boolean isAvailable()Public NativeCameraStatus.available member exposed by the AngularTS namespace contract. -
isGranted
@JsProperty boolean isGranted()Public NativeCameraStatus.granted member exposed by the AngularTS namespace contract. -
setAvailable
@JsProperty void setAvailable(boolean available) Public NativeCameraStatus.available member exposed by the AngularTS namespace contract. -
setGranted
@JsProperty void setGranted(boolean granted) Public NativeCameraStatus.granted member exposed by the AngularTS namespace contract. -
setPermission
Public NativeCameraStatus.permission member exposed by the AngularTS namespace contract.
-