Package org.robovm.apple.gamekit
Class GKChallenge
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gamekit.GKChallenge
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
- Direct Known Subclasses:
GKAchievementChallenge
,GKScoreChallenge
public class GKChallenge extends NSObject implements NSCoding, NSSecureCoding
- Since:
- Available in iOS 6.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKChallenge.GKChallengePtr
-
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 GKChallenge()
GKChallenge(NSCoder decoder)
protected
GKChallenge(NSObject.Handle h, long handle)
protected
GKChallenge(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
decline()
void
encode(NSCoder coder)
NSDate
getCompletionDate()
NSDate
getIssueDate()
GKPlayer
getIssuingPlayer()
java.lang.String
getIssuingPlayerID()
Deprecated.Deprecated in iOS 8.0.java.lang.String
getMessage()
GKPlayer
getReceivingPlayer()
java.lang.String
getReceivingPlayerID()
Deprecated.Deprecated in iOS 8.0.GKChallengeState
getState()
protected long
init(NSCoder decoder)
static void
loadReceivedChallenges(org.robovm.objc.block.VoidBlock2<NSArray<GKChallenge>,NSError> completionHandler)
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
-
GKChallenge
public GKChallenge()
-
GKChallenge
protected GKChallenge(NSObject.Handle h, long handle)
-
GKChallenge
protected GKChallenge(NSObject.SkipInit skipInit)
-
GKChallenge
public GKChallenge(NSCoder decoder)
-
-
Method Detail
-
getIssuingPlayerID
@Deprecated public java.lang.String getIssuingPlayerID()
Deprecated.Deprecated in iOS 8.0. Use issuingPlayer instead- Since:
- Available in iOS 6.0 and later.
-
getReceivingPlayerID
@Deprecated public java.lang.String getReceivingPlayerID()
Deprecated.Deprecated in iOS 8.0. Use receivingPlayer instead- Since:
- Available in iOS 6.0 and later.
-
getIssuingPlayer
public GKPlayer getIssuingPlayer()
- Since:
- Available in iOS 8.0 and later.
-
getReceivingPlayer
public GKPlayer getReceivingPlayer()
- Since:
- Available in iOS 8.0 and later.
-
getState
public GKChallengeState getState()
-
getIssueDate
public NSDate getIssueDate()
-
getCompletionDate
public NSDate getCompletionDate()
-
getMessage
public java.lang.String getMessage()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
decline
public void decline()
-
loadReceivedChallenges
public static void loadReceivedChallenges(org.robovm.objc.block.VoidBlock2<NSArray<GKChallenge>,NSError> completionHandler)
-
init
protected long init(NSCoder decoder)
-
-