Package org.robovm.apple.coremedia
Class CMFormatDescription
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.apple.corefoundation.CFType
org.robovm.apple.coremedia.CMFormatDescription
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
CMAudioFormatDescription,CMClosedCaptionFormatDescription,CMMetadataFormatDescription,CMMuxedFormatDescription,CMTextFormatDescription,CMTimeCodeFormatDescription,CMVideoFormatDescription
public class CMFormatDescription extends CFType
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCMFormatDescription.CMFormatDescriptionPtrNested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler -
Constructor Summary
Constructors Modifier Constructor Description protectedCMFormatDescription() -
Method Summary
Modifier and Type Method Description static CMFormatDescriptioncreate(CFAllocator allocator, CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions)static CMFormatDescriptioncreate(CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions)protected static OSStatuscreate0(CFAllocator allocator, CMMediaType mediaType, int mediaSubType, CFDictionary extensions, CMFormatDescription.CMFormatDescriptionPtr formatDescriptionOut)booleanequalsTo(CMFormatDescription otherFormatDescription)booleanequalsTo(CMFormatDescription desc2, String formatDescriptionExtensionKeysToIgnore, String sampleDescriptionExtensionAtomKeysToIgnore)booleanequalsTo(CMFormatDescription desc2, List<String> formatDescriptionExtensionKeysToIgnore, List<String> sampleDescriptionExtensionAtomKeysToIgnore)static longgetClassTypeID()CFTypegetExtension(String extensionKey)CFDictionarygetExtensionDictionary()intgetMediaSubType()CMMediaTypegetMediaType()Methods inherited from class org.robovm.apple.corefoundation.CFType
autorelease, close, dispose, dispose, doDispose, equalsTo, finalize, getAllocator, getDescription, getRetainCount, getTypeID, getTypeIDDescription, hash, makeCollectable, release, release, retain, retain, show, toString
-
Constructor Details
-
CMFormatDescription
protected CMFormatDescription()
-
-
Method Details
-
create
public static CMFormatDescription create(CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
create
public static CMFormatDescription create(CFAllocator allocator, CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions) throws OSStatusException- Throws:
OSStatusException- Since:
- Available in iOS 4.0 and later.
-
equalsTo
public boolean equalsTo(CMFormatDescription desc2, String formatDescriptionExtensionKeysToIgnore, String sampleDescriptionExtensionAtomKeysToIgnore)- Since:
- Available in iOS 4.3 and later.
-
equalsTo
public boolean equalsTo(CMFormatDescription desc2, List<String> formatDescriptionExtensionKeysToIgnore, List<String> sampleDescriptionExtensionAtomKeysToIgnore)- Since:
- Available in iOS 4.3 and later.
-
create0
protected static OSStatus create0(CFAllocator allocator, CMMediaType mediaType, int mediaSubType, CFDictionary extensions, CMFormatDescription.CMFormatDescriptionPtr formatDescriptionOut) -
getClassTypeID
public static long getClassTypeID() -
equalsTo
-
getMediaType
-
getMediaSubType
public int getMediaSubType() -
getExtensionDictionary
-
getExtension
-