Package org.robovm.apple.cloudkit
Class CKShare
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.cloudkit.CKRecord
-
- org.robovm.apple.cloudkit.CKShare
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class CKShare extends CKRecord
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CKShare.CKSharePtr
-
Nested classes/interfaces inherited from class org.robovm.apple.cloudkit.CKRecord
CKRecord.CKRecordPtr
-
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
CKShare()
CKShare(CKRecord rootRecord)
CKShare(CKRecord rootRecord, CKRecordID shareID)
CKShare(NSCoder aDecoder)
protected
CKShare(NSObject.Handle h, long handle)
protected
CKShare(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParticipant(CKShareParticipant participant)
CKShareParticipant
getCurrentUserParticipant()
CKShareParticipant
getOwner()
NSArray<CKShareParticipant>
getParticipants()
CKShareParticipantPermission
getPublicPermission()
NSURL
getURL()
protected long
init(CKRecord rootRecord)
protected long
init(CKRecord rootRecord, CKRecordID shareID)
protected long
init(NSCoder aDecoder)
void
removeParticipant(CKShareParticipant participant)
void
setPublicPermission(CKShareParticipantPermission v)
static java.lang.String
ThumbnailImageDataKey()
static java.lang.String
TitleKey()
static java.lang.String
TypeKey()
-
Methods inherited from class org.robovm.apple.cloudkit.CKRecord
encode, encodeSystemFields, get, getAllKeys, getAllTokens, getChangedKeys, getCreationDate, getCreatorUserRecordID, getLastModifiedUserRecordID, getModificationDate, getParent, getRecordChangeTag, getRecordID, getRecordType, getShare, init, init, init, ParentKey, put, put, put, put, put, put, put, put, put, put, put, put, setParent, setParentReferenceFromRecord, setParentReferenceFromRecordID, ShareKey, 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
-
CKShare
protected CKShare()
-
CKShare
protected CKShare(NSObject.Handle h, long handle)
-
CKShare
protected CKShare(NSObject.SkipInit skipInit)
-
CKShare
public CKShare(CKRecord rootRecord)
-
CKShare
public CKShare(CKRecord rootRecord, CKRecordID shareID)
-
CKShare
public CKShare(NSCoder aDecoder)
-
-
Method Detail
-
getPublicPermission
public CKShareParticipantPermission getPublicPermission()
-
setPublicPermission
public void setPublicPermission(CKShareParticipantPermission v)
-
getURL
public NSURL getURL()
-
getParticipants
public NSArray<CKShareParticipant> getParticipants()
-
getOwner
public CKShareParticipant getOwner()
-
getCurrentUserParticipant
public CKShareParticipant getCurrentUserParticipant()
-
TitleKey
public static java.lang.String TitleKey()
- Since:
- Available in iOS 10.0 and later.
-
ThumbnailImageDataKey
public static java.lang.String ThumbnailImageDataKey()
- Since:
- Available in iOS 10.0 and later.
-
TypeKey
public static java.lang.String TypeKey()
- Since:
- Available in iOS 10.0 and later.
-
init
protected long init(CKRecord rootRecord)
-
init
protected long init(CKRecord rootRecord, CKRecordID shareID)
-
addParticipant
public void addParticipant(CKShareParticipant participant)
-
removeParticipant
public void removeParticipant(CKShareParticipant participant)
-
-