Examples of EdsPropertyDesc


Examples of edsdk.bindings.EdsPropertyDesc

    public static final DescriptiveEnum<?>[] getPropertyDesc( final EdsCameraRef camera,
                                                              final EdsPropertyID property,
                                                              final boolean hideEmptyPropertyDesc ) {

        final EdsPropertyDesc propertyDesc = CanonUtils.getPropertyDesc( (EdsBaseRef) camera, property );

        if ( propertyDesc.numElements.intValue() > 0 || !hideEmptyPropertyDesc ) {
            System.out.println( "Getting available property values for " +
                                property.description() + " (" +
                                property.name() + ")" );
View Full Code Here

Examples of edsdk.bindings.EdsPropertyDesc

         * System.out.println( "Getting available property values for " +
         * property.description() + " (" + property.name() +
         * ")" );
         */

        final EdsPropertyDesc propertyDesc = CanonUtils.getPropertyDesc( (EdsBaseRef) camera, property );

        if ( propertyDesc.numElements.intValue() > 0 ) {
            /*
             * System.out.println( "Number of elements: " +
             * propertyDesc.numElements );
View Full Code Here

Examples of edsdk.bindings.EdsPropertyDesc

     * @return The EdsPropertyDesc containing the available settings for the
     *         given property
     */
    public static EdsPropertyDesc getPropertyDesc( final EdsBaseRef ref,
                                                   final EdsPropertyID property ) throws IllegalArgumentException {
        final EdsPropertyDesc propertyDesc = new EdsPropertyDesc();
        final EdsError err = CanonUtils.toEdsError( CanonCamera.EDSDK.EdsGetPropertyDesc( ref, new NativeLong( property.value() ), propertyDesc ) );
        if ( err == EdsError.EDS_ERR_OK ) {
            //System.out.println( "> available values = " + propertyDesc.numElements );
            return propertyDesc;
        }
View Full Code Here

Examples of edsdk.bindings.EdsPropertyDesc

    @Override
    public void run() {
        Throwable t = null;
        try {
            final EdsPropertyDesc properties = CanonUtils.getPropertyDesc( (EdsBaseRef) camera.getEdsCamera(), property );
            setResult( properties );
            return;
        }
        catch ( final IllegalArgumentException e ) {
            t = e;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.