Package org.robovm.apple.gamekit
Class GKLocalPlayerListenerAdapter
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.gamekit.GKChallengeListenerAdapter
org.robovm.apple.gamekit.GKLocalPlayerListenerAdapter
- All Implemented Interfaces:
NSObjectProtocol,GKChallengeListener,GKInviteEventListener,GKLocalPlayerListener,GKSavedGameListener,GKTurnBasedEventListener,ObjCProtocol
public class GKLocalPlayerListenerAdapter extends GKChallengeListenerAdapter implements GKLocalPlayerListener
-
Nested Class Summary
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Constructor Description GKLocalPlayerListenerAdapter() -
Method Summary
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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
GKLocalPlayerListenerAdapter
public GKLocalPlayerListenerAdapter()
-
-
Method Details
-
wantsToPlayChallenge
- Specified by:
wantsToPlayChallengein interfaceGKChallengeListener- Overrides:
wantsToPlayChallengein classGKChallengeListenerAdapter- Since:
- Available in iOS 7.0 and later.
-
didReceiveChallenge
- Specified by:
didReceiveChallengein interfaceGKChallengeListener- Overrides:
didReceiveChallengein classGKChallengeListenerAdapter- Since:
- Available in iOS 7.0 and later.
-
didCompleteChallenge
- Specified by:
didCompleteChallengein interfaceGKChallengeListener- Overrides:
didCompleteChallengein classGKChallengeListenerAdapter- Since:
- Available in iOS 7.0 and later.
-
issuedChallengeWasCompleted
public void issuedChallengeWasCompleted(GKPlayer player, GKChallenge challenge, GKPlayer friendPlayer)- Specified by:
issuedChallengeWasCompletedin interfaceGKChallengeListener- Overrides:
issuedChallengeWasCompletedin classGKChallengeListenerAdapter- Since:
- Available in iOS 7.0 and later.
-
didAcceptInvite
- Specified by:
didAcceptInvitein interfaceGKInviteEventListener- Since:
- Available in iOS 7.0 and later.
-
didRequestMatch
- Specified by:
didRequestMatchin interfaceGKInviteEventListener- Specified by:
didRequestMatchin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 8.0 and later.
-
receivedTurnEvent
- Specified by:
receivedTurnEventin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 7.0 and later.
-
matchEnded
- Specified by:
matchEndedin interfaceGKTurnBasedEventListener
-
receivedExchangeRequest
public void receivedExchangeRequest(GKPlayer player, GKTurnBasedExchange exchange, GKTurnBasedMatch match)- Specified by:
receivedExchangeRequestin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 7.0 and later.
-
receivedExchangeCancellation
public void receivedExchangeCancellation(GKPlayer player, GKTurnBasedExchange exchange, GKTurnBasedMatch match)- Specified by:
receivedExchangeCancellationin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 7.0 and later.
-
receivedExchangeReplies
public void receivedExchangeReplies(GKPlayer player, NSArray<GKTurnBasedExchange> replies, GKTurnBasedExchange exchange, GKTurnBasedMatch match)- Specified by:
receivedExchangeRepliesin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 7.0 and later.
-
didRequestMatch
Deprecated.Deprecated in iOS 8.0.- Specified by:
didRequestMatchin interfaceGKInviteEventListener- Specified by:
didRequestMatchin interfaceGKTurnBasedEventListener- Since:
- Available in iOS 7.0 and later.
-
didModifySavedGame
- Specified by:
didModifySavedGamein interfaceGKSavedGameListener
-
hasConflictingSavedGames
- Specified by:
hasConflictingSavedGamesin interfaceGKSavedGameListener
-
wantsToQuitMatch
- Specified by:
wantsToQuitMatchin interfaceGKTurnBasedEventListener
-