Package edsdk.api

Examples of edsdk.api.CanonCamera.closeSession()


            camera.endLiveView();

            //CanonUtils.isMirrorLockupEnabled( camera.getEdsCamera() );

            camera.closeSession();
        }

        CanonCamera.close();
    }
View Full Code Here


        final EdsCompressQuality mainImageCompressQuality = EdsCompressQuality.enumOfValue( (int) ( imageQuality >>> 16 & 0xf ) );
        final EdsImageSize secondaryImageSize = EdsImageSize.enumOfValue( (int) ( imageQuality >>> 8 & 0xf ) );
        final EdsImageType secondaryImageType = EdsImageType.enumOfValue( (int) ( imageQuality >>> 4 & 0xf ) );
        final EdsCompressQuality secondaryImageCompressQuality = EdsCompressQuality.enumOfValue( (int) ( imageQuality & 0xf ) );

        camera.closeSession();
        CanonCamera.close();

        System.out.println();
        System.out.println( "Main image properties " );
        System.out.println( "                type: " +
View Full Code Here

                frame.addWindowListener( new WindowAdapter() {

                    @Override
                    public void windowClosing( final WindowEvent e ) {
                        camera.endLiveView();
                        camera.closeSession();
                        CanonCamera.close();
                        System.exit( 0 );
                    }
                } );
                frame.setVisible( true );
View Full Code Here

                        image.flush();
                    }

                }
            }
            camera.closeSession();
        }
        CanonCamera.close();
        System.exit( 0 );
    }
}
View Full Code Here

    // are getAvailableXXX methods for all kinds of things!
    EdsImageQuality[] sizes = cam.getAvailableImageQualities()
    for( EdsImageQuality size : sizes ){
      System.out.println( size.name() + "/" + size.value() );
    }
    cam.closeSession();
    CanonCamera.close();
  }
}
View Full Code Here

                                            photo.getCanonicalPath() );
                    }
                }
            }

            camera.closeSession();
        }

        CanonCamera.close();
    }
}
View Full Code Here

            // Now do something with the result
            if ( !result ) {
                System.out.println( "oh, it didn't work... " );
            }

            camera.closeSession();
        }

        CanonCamera.close();
    }
}
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.