Package org.robovm.apple.cloudkit
Class CKSubscription
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.cloudkit.CKSubscription
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
CKDatabaseSubscription
,CKQuerySubscription
,CKRecordZoneSubscription
public class CKSubscription extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 8.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CKSubscription.CKSubscriptionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CKSubscription()
CKSubscription(java.lang.String recordType, NSPredicate predicate, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.CKSubscription(java.lang.String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.CKSubscription(CKRecordZoneID zoneID, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.CKSubscription(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.CKSubscription(NSCoder aDecoder)
Deprecated.Deprecated in iOS 10.0.protected
CKSubscription(NSObject.Handle h, long handle)
protected
CKSubscription(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
encode(NSCoder coder)
CKNotificationInfo
getNotificationInfo()
NSPredicate
getPredicate()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getRecordType()
Deprecated.Deprecated in iOS 10.0.java.lang.String
getSubscriptionID()
CKSubscriptionOptions
getSubscriptionOptions()
Deprecated.Deprecated in iOS 10.0.CKSubscriptionType
getSubscriptionType()
CKRecordZoneID
getZoneID()
Deprecated.Deprecated in iOS 10.0.protected long
init(java.lang.String recordType, NSPredicate predicate, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.protected long
init(java.lang.String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.protected long
init(CKRecordZoneID zoneID, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.protected long
init(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0.protected long
init(NSCoder aDecoder)
Deprecated.Deprecated in iOS 10.0.void
setNotificationInfo(CKNotificationInfo v)
void
setZoneID(CKRecordZoneID v)
Deprecated.Deprecated in iOS 10.0.static boolean
supportsSecureCoding()
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
CKSubscription
protected CKSubscription()
-
CKSubscription
protected CKSubscription(NSObject.Handle h, long handle)
-
CKSubscription
protected CKSubscription(NSObject.SkipInit skipInit)
-
CKSubscription
@Deprecated public CKSubscription(NSCoder aDecoder)
Deprecated.Deprecated in iOS 10.0. Init the appropriate CKSubscription subclass- Since:
- Available in iOS 8.0 and later.
-
CKSubscription
@Deprecated public CKSubscription(java.lang.String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
CKSubscription
@Deprecated public CKSubscription(java.lang.String recordType, NSPredicate predicate, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
CKSubscription
@Deprecated public CKSubscription(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
CKSubscription
@Deprecated public CKSubscription(CKRecordZoneID zoneID, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
-
Method Detail
-
getSubscriptionID
public java.lang.String getSubscriptionID()
-
getSubscriptionType
public CKSubscriptionType getSubscriptionType()
-
getNotificationInfo
public CKNotificationInfo getNotificationInfo()
-
setNotificationInfo
public void setNotificationInfo(CKNotificationInfo v)
-
getRecordType
@Deprecated public java.lang.String getRecordType()
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
getPredicate
@Deprecated public NSPredicate getPredicate()
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
getSubscriptionOptions
@Deprecated public CKSubscriptionOptions getSubscriptionOptions()
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscriptionOptions instead- Since:
- Available in iOS 8.0 and later.
-
getZoneID
@Deprecated public CKRecordZoneID getZoneID()
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
setZoneID
@Deprecated public void setZoneID(CKRecordZoneID v)
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
init
@Deprecated protected long init(NSCoder aDecoder)
Deprecated.Deprecated in iOS 10.0. Init the appropriate CKSubscription subclass- Since:
- Available in iOS 8.0 and later.
-
init
@Deprecated protected long init(java.lang.String recordType, NSPredicate predicate, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
init
@Deprecated protected long init(java.lang.String recordType, NSPredicate predicate, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKQuerySubscription instead- Since:
- Available in iOS 8.0 and later.
-
init
@Deprecated protected long init(CKRecordZoneID zoneID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
init
@Deprecated protected long init(CKRecordZoneID zoneID, java.lang.String subscriptionID, CKSubscriptionOptions subscriptionOptions)
Deprecated.Deprecated in iOS 10.0. Use CKRecordZoneSubscription instead- Since:
- Available in iOS 8.0 and later.
-
-