net.rim.blackberry.api.invoke
Class CameraArguments

java.lang.Object
  extended by net.rim.blackberry.api.invoke.ApplicationArguments
      extended by net.rim.blackberry.api.invoke.CameraArguments

public class CameraArguments
extends ApplicationArguments

Encapsulates arguments to pass to the camera or video recorder applications.

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.2.0

Field Summary
Category: Signed static String ARG_CAMERA_APP
          Argument to start the camera application.
Category: Signed static String ARG_VIDEO_RECORDER
          Argument to start the video recorder application.
 
Constructor Summary
Category: Signed CameraArguments()
          Creates a new CameraArguments instance The default constructor starts the camera application
Category: Signed CameraArguments(String arg)
          Creates a new CameraArguments instance for the camera application or the video recorder application
 
Method Summary
 
Methods inherited from class net.rim.blackberry.api.invoke.ApplicationArguments
getArgs
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 



Field Detail

ARG_CAMERA_APP

public static final String ARG_CAMERA_APP
Argument to start the camera application.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.7.0

ARG_VIDEO_RECORDER

public static final String ARG_VIDEO_RECORDER
Argument to start the video recorder application.

See Also:
Constant Field Values
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.7.0


Constructor Detail

CameraArguments

public CameraArguments()
Creates a new CameraArguments instance The default constructor starts the camera application

Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.2.0

CameraArguments

public CameraArguments(String arg)
Creates a new CameraArguments instance for the camera application or the video recorder application

Parameters:
arg - Specifies ARG_CAMERA_APP or ARG_VIDEO_RECORDER.
Throws:
IllegalArgumentException - If arg is not one of the CameraArguments constants
Category:
Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
Since:
BlackBerry API 4.7.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal