Package org.robovm.apple.gamekit
Class GKMatchmaker
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.gamekit.GKMatchmaker
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class GKMatchmaker extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGKMatchmaker.GKMatchmakerPtrNested 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
-
Constructor Summary
Constructors Modifier Constructor Description GKMatchmaker()protectedGKMatchmaker(NSObject.Handle h, long handle)protectedGKMatchmaker(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidaddPlayersToMatch(GKMatch match, GKMatchRequest matchRequest, VoidBlock1<NSError> completionHandler)voidcancel()voidcancelInvite(String playerID)Deprecated.Deprecated in iOS 8.0.voidcancelPendingInvite(GKPlayer player)voidfindMatch(GKMatchRequest request, VoidBlock2<GKMatch,NSError> completionHandler)voidfindPlayers(GKMatchRequest request, VoidBlock2<NSArray<NSString>,NSError> completionHandler)Deprecated.Deprecated in iOS 8.0.voidfindPlayersForHostedRequest(GKMatchRequest request, VoidBlock2<NSArray<GKPlayer>,NSError> completionHandler)voidfinishMatchmaking(GKMatch match)VoidBlock2<GKInvite,NSArray<?>>getInviteHandler()Deprecated.Deprecated in iOS 7.0.static GKMatchmakergetSharedMatchmaker()voidmatch(GKInvite invite, VoidBlock2<GKMatch,NSError> completionHandler)voidqueryActivity(VoidBlock2<Long,NSError> completionHandler)voidqueryPlayerGroupActivity(long playerGroup, VoidBlock2<Long,NSError> completionHandler)voidsetInviteHandler(VoidBlock2<GKInvite,NSArray<?>> v)Deprecated.Deprecated in iOS 7.0.voidstartBrowsingForNearbyPlayers(VoidBlock2<NSString,Boolean> reachableHandler)Deprecated.Deprecated in iOS 8.0.voidstartNearbyPlayersBrowsing(VoidBlock2<GKPlayer,Boolean> reachableHandler)voidstopBrowsingForNearbyPlayers()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, updateStrongRef
-
Constructor Details
-
GKMatchmaker
public GKMatchmaker() -
GKMatchmaker
-
GKMatchmaker
-
-
Method Details
-
getInviteHandler
Deprecated.Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead -
setInviteHandler
Deprecated.Deprecated in iOS 7.0. Use registerListener on GKLocalPlayer to register an object that implements the GKInviteEventListenerProtocol instead -
match
-
findMatch
-
findPlayersForHostedRequest
public void findPlayersForHostedRequest(GKMatchRequest request, VoidBlock2<NSArray<GKPlayer>,NSError> completionHandler) -
addPlayersToMatch
public void addPlayersToMatch(GKMatch match, GKMatchRequest matchRequest, VoidBlock1<NSError> completionHandler) -
cancel
public void cancel() -
cancelPendingInvite
-
finishMatchmaking
-
queryPlayerGroupActivity
public void queryPlayerGroupActivity(long playerGroup, VoidBlock2<Long,NSError> completionHandler) -
queryActivity
-
startNearbyPlayersBrowsing
-
stopBrowsingForNearbyPlayers
public void stopBrowsingForNearbyPlayers() -
getSharedMatchmaker
-
startBrowsingForNearbyPlayers
@Deprecated public void startBrowsingForNearbyPlayers(VoidBlock2<NSString,Boolean> reachableHandler)Deprecated.Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, Use startBrowsingForNearbyPlayersWithHandler: instead -
cancelInvite
Deprecated.Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use cancelPendingInviteToPlayer: -
findPlayers
@Deprecated public void findPlayers(GKMatchRequest request, VoidBlock2<NSArray<NSString>,NSError> completionHandler)Deprecated.Deprecated in iOS 8.0. This is never invoked and its implementation does nothing, use findPlayersForHostedRequest:
-