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:
java.lang.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 class
CMFormatDescription.CMFormatDescriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.corefoundation.CFType
CFType.AsListMarshaler, CFType.CFTypePtr, CFType.Marshaler, CFType.NoRetainMarshaler
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CMFormatDescription()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CMFormatDescription
create(CFAllocator allocator, CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions)
static CMFormatDescription
create(CMMediaType mediaType, int mediaSubtype, NSDictionary<NSString,?> extensions)
protected static OSStatus
create0(CFAllocator allocator, CMMediaType mediaType, int mediaSubType, CFDictionary extensions, CMFormatDescription.CMFormatDescriptionPtr formatDescriptionOut)
boolean
equalsTo(CMFormatDescription otherFormatDescription)
boolean
equalsTo(CMFormatDescription desc2, java.lang.String formatDescriptionExtensionKeysToIgnore, java.lang.String sampleDescriptionExtensionAtomKeysToIgnore)
boolean
equalsTo(CMFormatDescription desc2, java.util.List<java.lang.String> formatDescriptionExtensionKeysToIgnore, java.util.List<java.lang.String> sampleDescriptionExtensionAtomKeysToIgnore)
static long
getClassTypeID()
CFType
getExtension(java.lang.String extensionKey)
CFDictionary
getExtensionDictionary()
int
getMediaSubType()
CMMediaType
getMediaType()
-
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
-
-
-
-
Method Detail
-
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, java.lang.String formatDescriptionExtensionKeysToIgnore, java.lang.String sampleDescriptionExtensionAtomKeysToIgnore)
- Since:
- Available in iOS 4.3 and later.
-
equalsTo
public boolean equalsTo(CMFormatDescription desc2, java.util.List<java.lang.String> formatDescriptionExtensionKeysToIgnore, java.util.List<java.lang.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)
- Since:
- Available in iOS 4.0 and later.
-
getClassTypeID
public static long getClassTypeID()
- Since:
- Available in iOS 4.0 and later.
-
equalsTo
public boolean equalsTo(CMFormatDescription otherFormatDescription)
- Since:
- Available in iOS 4.0 and later.
-
getMediaType
public CMMediaType getMediaType()
- Since:
- Available in iOS 4.0 and later.
-
getMediaSubType
public int getMediaSubType()
- Since:
- Available in iOS 4.0 and later.
-
getExtensionDictionary
public CFDictionary getExtensionDictionary()
- Since:
- Available in iOS 4.0 and later.
-
getExtension
public CFType getExtension(java.lang.String extensionKey)
- Since:
- Available in iOS 4.0 and later.
-
-