All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.robovm.apple.avfoundation.AVCapturePhotoOutput Maven / Gradle / Ivy

There is a newer version: 2.3.5
Show newest version
/*
 * Copyright (C) 2013-2015 RoboVM AB
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *      http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.robovm.apple.avfoundation;

/**/
import java.io.*;
import java.nio.*;
import java.util.*;
import org.robovm.objc.*;
import org.robovm.objc.annotation.*;
import org.robovm.objc.block.*;
import org.robovm.rt.*;
import org.robovm.rt.annotation.*;
import org.robovm.rt.bro.*;
import org.robovm.rt.bro.annotation.*;
import org.robovm.rt.bro.ptr.*;
import org.robovm.apple.foundation.*;
import org.robovm.apple.corefoundation.*;
import org.robovm.apple.dispatch.*;
import org.robovm.apple.coreanimation.*;
import org.robovm.apple.coreimage.*;
import org.robovm.apple.coregraphics.*;
import org.robovm.apple.coreaudio.*;
import org.robovm.apple.coremedia.*;
import org.robovm.apple.corevideo.*;
import org.robovm.apple.mediatoolbox.*;
import org.robovm.apple.audiotoolbox.*;
/**/

/**/
/**
 * @since Available in iOS 10.0 and later.
 */
/**/
/**/@Library("AVFoundation") @NativeClass/**/
/**/public/**/ class /**/AVCapturePhotoOutput/**/ 
    extends /**/AVCaptureOutput/**/ 
    /**//**/ {

    /**/public static class AVCapturePhotoOutputPtr extends Ptr {}/**/
    /**/static { ObjCRuntime.bind(AVCapturePhotoOutput.class); }/**/
    /**//**/
    /**/
    protected AVCapturePhotoOutput(Handle h, long handle) { super(h, handle); }
    protected AVCapturePhotoOutput(SkipInit skipInit) { super(skipInit); }
    public AVCapturePhotoOutput() { super((Handle) null, create()); retain(getHandle()); }
    /**/
    /**/
    @Property(selector = "preparedPhotoSettingsArray")
    public native NSArray getPreparedPhotoSettingsArray();
    @Property(selector = "availablePhotoPixelFormatTypes")
    public native NSArray getAvailablePhotoPixelFormatTypes();
    @Property(selector = "availablePhotoCodecTypes")
    public native NSArray getAvailablePhotoCodecTypes();
    @Property(selector = "availableRawPhotoPixelFormatTypes")
    public native NSArray getAvailableRawPhotoPixelFormatTypes();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "availablePhotoFileTypes")
    public native NSArray getAvailablePhotoFileTypes();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "availableRawPhotoFileTypes")
    public native NSArray getAvailableRawPhotoFileTypes();
    @Property(selector = "isStillImageStabilizationSupported")
    public native boolean isStillImageStabilizationSupported();
    @Property(selector = "isStillImageStabilizationScene")
    public native boolean isStillImageStabilizationScene();
    /**
     * @since Available in iOS 10.2 and later.
     */
    @Property(selector = "isDualCameraFusionSupported")
    public native boolean isDualCameraFusionSupported();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "isDualCameraDualPhotoDeliverySupported")
    public native boolean isDualCameraDualPhotoDeliverySupported();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "isDualCameraDualPhotoDeliveryEnabled")
    public native boolean isDualCameraDualPhotoDeliveryEnabled();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "setDualCameraDualPhotoDeliveryEnabled:")
    public native void setDualCameraDualPhotoDeliveryEnabled(boolean v);
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "isCameraCalibrationDataDeliverySupported")
    public native boolean isCameraCalibrationDataDeliverySupported();
    @Property(selector = "supportedFlashModes")
    public native NSArray getSupportedFlashModes();
    @Property(selector = "isFlashScene")
    public native boolean isFlashScene();
    @Property(selector = "photoSettingsForSceneMonitoring")
    public native AVCapturePhotoSettings getPhotoSettingsForSceneMonitoring();
    @Property(selector = "setPhotoSettingsForSceneMonitoring:")
    public native void setPhotoSettingsForSceneMonitoring(AVCapturePhotoSettings v);
    @Property(selector = "isHighResolutionCaptureEnabled")
    public native boolean isHighResolutionCaptureEnabled();
    @Property(selector = "setHighResolutionCaptureEnabled:")
    public native void setHighResolutionCaptureEnabled(boolean v);
    @Property(selector = "maxBracketedCapturePhotoCount")
    public native @MachineSizedUInt long getMaxBracketedCapturePhotoCount();
    @Property(selector = "isLensStabilizationDuringBracketedCaptureSupported")
    public native boolean isLensStabilizationDuringBracketedCaptureSupported();
    @Property(selector = "isLivePhotoCaptureSupported")
    public native boolean isLivePhotoCaptureSupported();
    @Property(selector = "isLivePhotoCaptureEnabled")
    public native boolean isLivePhotoCaptureEnabled();
    @Property(selector = "setLivePhotoCaptureEnabled:")
    public native void setLivePhotoCaptureEnabled(boolean v);
    @Property(selector = "isLivePhotoCaptureSuspended")
    public native boolean isLivePhotoCaptureSuspended();
    @Property(selector = "setLivePhotoCaptureSuspended:")
    public native void setLivePhotoCaptureSuspended(boolean v);
    @Property(selector = "isLivePhotoAutoTrimmingEnabled")
    public native boolean isLivePhotoAutoTrimmingEnabled();
    @Property(selector = "setLivePhotoAutoTrimmingEnabled:")
    public native void setLivePhotoAutoTrimmingEnabled(boolean v);
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "availableLivePhotoVideoCodecTypes")
    public native NSArray getAvailableLivePhotoVideoCodecTypes();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "isDepthDataDeliverySupported")
    public native boolean isDepthDataDeliverySupported();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "isDepthDataDeliveryEnabled")
    public native boolean isDepthDataDeliveryEnabled();
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Property(selector = "setDepthDataDeliveryEnabled:")
    public native void setDepthDataDeliveryEnabled(boolean v);
    /**/
    /**//**/
    /**/
    @Method(selector = "capturePhotoWithSettings:delegate:")
    public native void capturePhotoWithSettings(AVCapturePhotoSettings settings, AVCapturePhotoCaptureDelegate delegate);
    @Method(selector = "setPreparedPhotoSettingsArray:completionHandler:")
    public native void setPreparedPhotoSettingsArray(NSArray preparedPhotoSettingsArray, @Block VoidBlock2 completionHandler);
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Method(selector = "supportedPhotoPixelFormatTypesForFileType:")
    public native NSArray supportedPhotoPixelFormatTypesForFileType(String fileType);
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Method(selector = "supportedPhotoCodecTypesForFileType:")
    public native NSArray supportedPhotoCodecTypesForFileType(String fileType);
    /**
     * @since Available in iOS 11.0 and later.
     */
    @Method(selector = "supportedRawPhotoPixelFormatTypesForFileType:")
    public native NSArray supportedRawPhotoPixelFormatTypesForFileType(String fileType);
    @Method(selector = "new")
    protected static native @Pointer long create();
    /**
     * @since Available in iOS 10.0 and later.
     * @deprecated Deprecated in iOS 11.0.
     */
    @Deprecated
    @Method(selector = "JPEGPhotoDataRepresentationForJPEGSampleBuffer:previewPhotoSampleBuffer:")
    public static native NSData JPEGPhotoDataRepresentationForJPEGSampleBuffer(CMSampleBuffer JPEGSampleBuffer, CMSampleBuffer previewPhotoSampleBuffer);
    /**
     * @since Available in iOS 10.0 and later.
     * @deprecated Deprecated in iOS 11.0.
     */
    @Deprecated
    @Method(selector = "DNGPhotoDataRepresentationForRawSampleBuffer:previewPhotoSampleBuffer:")
    public static native NSData DNGPhotoDataRepresentationForRawSampleBuffer(CMSampleBuffer rawSampleBuffer, CMSampleBuffer previewPhotoSampleBuffer);
    /**/
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy