Package org.robovm.apple.corefoundation
Class CFType
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.apple.corefoundation.CFType
-
- All Implemented Interfaces:
java.lang.AutoCloseable
- Direct Known Subclasses:
ABAddressBook
,ABMultiValue
,ABRecord
,CFAllocator
,CFAttributedString
,CFBag
,CFBinaryHeap
,CFBitVector
,CFBundle
,CFCalendar
,CFCharacterSet
,CFDateFormatter
,CFError
,CFFileDescriptor
,CFFileSecurity
,CFHost
,CFHTTPAuthentication
,CFHTTPMessage
,CFLocale
,CFMachPort
,CFMessagePort
,CFNetDiagnostic
,CFNetService
,CFNetServiceBrowser
,CFNetServiceMonitor
,CFNotificationCenter
,CFNull
,CFNumberFormatter
,CFPlugIn
,CFPropertyList
,CFReadStream
,CFRunLoop
,CFRunLoopObserver
,CFRunLoopSource
,CFRunLoopTimer
,CFSet
,CFSocket
,CFStringTokenizer
,CFTimeZone
,CFTree
,CFURL
,CFURLEnumerator
,CFUUID
,CFWriteStream
,CGColor
,CGColorSpace
,CGContext
,CGDataConsumer
,CGDataProvider
,CGFont
,CGFunction
,CGGradient
,CGImage
,CGImageDestination
,CGImageMetadata
,CGImageMetadataTag
,CGImageSource
,CGLayer
,CGPath
,CGPattern
,CGPDFDocument
,CGPDFPage
,CGShading
,CMAttachmentBearer
,CMBlockBuffer
,CMBufferQueue
,CMClockOrTimebase
,CMFormatDescription
,CMMemoryPool
,CMSampleBuffer
,CMSimpleQueue
,CTFont
,CTFontCollection
,CTFontDescriptor
,CTFrame
,CTFramesetter
,CTGlyphInfo
,CTLine
,CTParagraphStyle
,CTRubyAnnotation
,CTRun
,CTTextTab
,CTTypesetter
,CVBuffer
,CVMetalTextureCache
,CVOpenGLESTextureCache
,CVPixelBufferPool
,GLKMatrixStack
,MTAudioProcessingTap
,SCNetworkReachability
,SecAccessControl
,SecCertificate
,SecIdentity
,SecKey
,SecPolicy
,SecTrust
,SSLContext
public class CFType extends org.robovm.rt.bro.NativeObject implements java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CFType.AsListMarshaler
static class
CFType.CFTypePtr
static class
CFType.Marshaler
static class
CFType.NoRetainMarshaler
Marshaler used for create and copy methods which have already retained the object they return.
-
Constructor Summary
Constructors Modifier Constructor Description protected
CFType()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CFType
autorelease()
void
close()
void
dispose()
protected void
dispose(boolean finalizing)
protected void
doDispose()
boolean
equalsTo(CFType cf2)
protected void
finalize()
CFAllocator
getAllocator()
protected CFString
getDescription()
long
getRetainCount()
long
getTypeID()
static java.lang.String
getTypeIDDescription(long type_id)
long
hash()
CFType
makeCollectable()
void
release()
protected static void
release(long handle)
CFType
retain()
protected static long
retain(long handle)
void
show()
java.lang.String
toString()
-
-
-
Method Detail
-
finalize
protected final void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
dispose
public final void dispose()
-
doDispose
protected void doDispose()
-
dispose
protected void dispose(boolean finalizing)
-
close
public final void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
retain
protected static long retain(long handle)
-
release
protected static void release(long handle)
-
getTypeID
public long getTypeID()
-
getTypeIDDescription
public static java.lang.String getTypeIDDescription(long type_id)
-
retain
public CFType retain()
-
release
public void release()
-
autorelease
public CFType autorelease()
- Since:
- Available in iOS 7.0 and later.
-
getRetainCount
public long getRetainCount()
-
equalsTo
public boolean equalsTo(CFType cf2)
-
hash
public long hash()
-
getDescription
protected CFString getDescription()
-
getAllocator
public CFAllocator getAllocator()
-
makeCollectable
public CFType makeCollectable()
-
show
public void show()
-
-