Class AVMovie

    • Constructor Detail

      • AVMovie

        protected AVMovie​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • URL

        public NSURL URL()
        [@property] URL The URL with which the instance of AVMovie was initialized; may be nil.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • alloc

        public static AVMovie alloc()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • assetWithURL

        public static AVMovie assetWithURL​(NSURL URL)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • canContainMovieFragments

        public boolean canContainMovieFragments()
        [@property] canContainMovieFragments Indicates whether the movie file is capable of being extended by fragments. The value of this property is YES if an 'mvex' box is present in the 'moov' box. The 'mvex' box is necessary in order to signal the possible presence of later 'moof' boxes.
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • containsMovieFragments

        public boolean containsMovieFragments()
        [@property] containsMovieFragments Indicates whether the movie file is extended by at least one movie fragment. The value of this property is YES if canContainMovieFragments is YES and at least one 'moof' box is present after the 'moov' box.
      • data

        public NSData data()
        [@property] data The data block with which the instance of AVMovie was initialized; may be nil.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • defaultMediaDataStorage

        public AVMediaDataStorage defaultMediaDataStorage()
        [@property] defaultMediaDataStorage The default storage container for media data added to a movie. The value of this property is an AVMediaDataStorage object that indicates where sample data that is added to a movie should be written by default.
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithDataOptions

        public AVMovie initWithDataOptions​(NSData data,
                                           NSDictionary<java.lang.String,​?> options)
        initWithData:options: Creates an AVMovie object from a movie header stored in an NSData object. You can use this method to operate on movie headers that are not stored in files. In general you should avoid loading an entire movie file with its media data into an instance of NSData! By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.
        Parameters:
        data - An NSData object containing a movie header.
        options - An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object. Currently no keys are defined.
        Returns:
        An AVMovie object
      • initWithURLOptions

        public AVMovie initWithURLOptions​(NSURL URL,
                                          NSDictionary<java.lang.String,​?> options)
        initWithURL:options: Creates an AVMovie object from a movie header stored in a QuickTime movie file or ISO base media file. By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.
        Parameters:
        URL - An NSURL object that specifies a file containing a movie header.
        options - An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object. Currently no keys are defined.
        Returns:
        An AVMovie object
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isCompatibleWithFileType

        public boolean isCompatibleWithFileType​(java.lang.String fileType)
        isCompatibleWithFileType: Indicates whether a movie header for the AVMovie object can be created for the specified file type. This method returns a BOOL that indicates whether a movie header of the specified type can be created for the receiver. For example, this method returns NO if the movie contains tracks whose media types or media subtypes are not allowed by the specified file type.
        Parameters:
        fileType - A UTI indicating a movie file format (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • movieHeaderWithFileTypeError

        public NSData movieHeaderWithFileTypeError​(java.lang.String fileType,
                                                   org.moe.natj.general.ptr.Ptr<NSError> outError)
        movieHeaderWithFileType:error: Creates an NSData object containing the movie header of the AVMovie object. The movie header will be a pure reference movie, with no base URL, suitable for use on the pasteboard.
        Parameters:
        fileType - A UTI indicating the specific file format of the movie header (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).
        outError - If an error occurs reading the movie header, describes the nature of the failure.
        Returns:
        An NSData object.
      • movieTypes

        public static NSArray<java.lang.String> movieTypes()
        movieTypes Provides the file types the AVMovie class understands.
        Returns:
        An NSArray of UTIs identifying the file types the AVMovie class understands.
      • movieWithDataOptions

        public static AVMovie movieWithDataOptions​(NSData data,
                                                   NSDictionary<java.lang.String,​?> options)
        movieWithData:options: Creates an AVMovie object from a movie header stored in an NSData object. You can use this method to operate on movie headers that are not stored in files; this might include movie headers on the pasteboard (which do not contain media data). In general you should avoid loading an entire movie file with its media data into an instance of NSData! By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from an NSData object and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.
        Parameters:
        data - An NSData object containing a movie header.
        options - An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object. Currently no keys are defined.
        Returns:
        An AVMovie object
      • movieWithURLOptions

        public static AVMovie movieWithURLOptions​(NSURL URL,
                                                  NSDictionary<java.lang.String,​?> options)
        movieWithURL:options: Creates an AVMovie object from a movie header stored in a QuickTime movie file or ISO base media file. By default, the defaultMediaDataStorage property will be nil and each associated AVMovieTrack's mediaDataStorage property will be nil. If you want to create an AVMutableMovie from a file and then append sample buffers to any of its tracks, you must first set one of these properties to indicate where the sample data should be written.
        Parameters:
        URL - An NSURL object that specifies a file containing a movie header.
        options - An NSDictionary object that contains keys for specifying options for the initialization of the AVMovie object. Currently no keys are defined.
        Returns:
        An AVMovie object
      • mutableCopyWithZone

        public java.lang.Object mutableCopyWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        mutableCopyWithZone in interface NSMutableCopying
      • new_objc

        public static java.lang.Object new_objc()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • trackWithTrackID

        public AVMovieTrack trackWithTrackID​(int trackID)
        trackWithTrackID: Provides an instance of AVMovieTrack that represents the track of the specified trackID. Becomes callable without blocking when the key @"tracks" has been loaded
        Overrides:
        trackWithTrackID in class AVAsset
        Parameters:
        trackID - The trackID of the requested AVMovieTrack.
        Returns:
        An instance of AVMovieTrack; may be nil if no track of the specified trackID is available.
      • tracks

        public NSArray<? extends AVMovieTrack> tracks()
        [@property] tracks The tracks in a movie. The value of this property is an array of tracks the movie contains; the tracks are of type AVMovieTrack.
        Overrides:
        tracks in class AVAsset
      • tracksWithMediaCharacteristic

        public NSArray<? extends AVMovieTrack> tracksWithMediaCharacteristic​(java.lang.String mediaCharacteristic)
        tracksWithMediaCharacteristic: Provides an array of AVMovieTracks of the asset that present media with the specified characteristic. Becomes callable without blocking when the key @"tracks" has been loaded
        Overrides:
        tracksWithMediaCharacteristic in class AVAsset
        Parameters:
        mediaCharacteristic - The media characteristic according to which the receiver filters its AVMovieTracks. (Media characteristics are defined in AVMediaFormat.h)
        Returns:
        An NSArray of AVMovieTracks; may be empty if no tracks with the specified characteristic are available.
      • tracksWithMediaType

        public NSArray<? extends AVMovieTrack> tracksWithMediaType​(java.lang.String mediaType)
        tracksWithMediaType: Provides an array of AVMovieTracks of the asset that present media of the specified media type. Becomes callable without blocking when the key @"tracks" has been loaded
        Overrides:
        tracksWithMediaType in class AVAsset
        Parameters:
        mediaType - The media type according to which the receiver filters its AVMovieTracks. (Media types are defined in AVMediaFormat.h)
        Returns:
        An NSArray of AVMovieTracks; may be empty if no tracks of the specified media type are available.
      • version_static

        public static long version_static()
      • writeMovieHeaderToURLFileTypeOptionsError

        public boolean writeMovieHeaderToURLFileTypeOptionsError​(NSURL URL,
                                                                 java.lang.String fileType,
                                                                 long options,
                                                                 org.moe.natj.general.ptr.Ptr<NSError> outError)
        writeMovieHeaderToURL:fileType:options:error: Writes the movie header to a destination URL. Note that modifications to instances of AVMutableMovie, to their constituent AVMutableMovieTracks, or to their collections of metadata are committed to storage when their movie headers are written.
        Parameters:
        URL - An NSURL object indicating where to write the movie header.
        fileType - A UTI indicating the specific file format (e.g. AVFileTypeQuickTimeMovie for a QuickTime movie).
        options - An NSUInteger whose bits specify options for the writing of the movie header. See AVMovieWritingOptions above.
        outError - If an error occurs writing the movie header, describes the nature of the failure.