Class GKMatchRequest

  • All Implemented Interfaces:
    NSObjectProtocol, org.robovm.objc.ObjCProtocol

    public class GKMatchRequest
    extends NSObject
    Since:
    Available in iOS 4.1 and later.
    • Constructor Detail

      • GKMatchRequest

        public GKMatchRequest()
      • GKMatchRequest

        protected GKMatchRequest​(NSObject.Handle h,
                                 long handle)
    • Method Detail

      • getMinPlayers

        public long getMinPlayers()
      • setMinPlayers

        public void setMinPlayers​(long v)
      • getMaxPlayers

        public long getMaxPlayers()
      • setMaxPlayers

        public void setMaxPlayers​(long v)
      • getPlayerGroup

        public long getPlayerGroup()
      • setPlayerGroup

        public void setPlayerGroup​(long v)
      • getPlayerAttributes

        public int getPlayerAttributes()
      • setPlayerAttributes

        public void setPlayerAttributes​(int v)
      • getRecipients

        public NSArray<GKPlayer> getRecipients()
        Since:
        Available in iOS 8.0 and later.
      • setRecipients

        public void setRecipients​(NSArray<GKPlayer> v)
        Since:
        Available in iOS 8.0 and later.
      • getPlayersToInvite

        @Deprecated
        public java.util.List<java.lang.String> getPlayersToInvite()
        Deprecated.
        Deprecated in iOS 8.0. use recipients
        Since:
        Available in iOS 4.1 and later.
      • setPlayersToInvite

        @Deprecated
        public void setPlayersToInvite​(java.util.List<java.lang.String> v)
        Deprecated.
        Deprecated in iOS 8.0. use recipients
        Since:
        Available in iOS 4.1 and later.
      • getInviteMessage

        public java.lang.String getInviteMessage()
        Since:
        Available in iOS 6.0 and later.
      • setInviteMessage

        public void setInviteMessage​(java.lang.String v)
        Since:
        Available in iOS 6.0 and later.
      • getDefaultNumberOfPlayers

        public long getDefaultNumberOfPlayers()
        Since:
        Available in iOS 6.0 and later.
      • setDefaultNumberOfPlayers

        public void setDefaultNumberOfPlayers​(long v)
        Since:
        Available in iOS 6.0 and later.
      • getRecipientResponseHandler

        public org.robovm.objc.block.VoidBlock2<GKPlayer,​GKInviteRecipientResponse> getRecipientResponseHandler()
        Since:
        Available in iOS 8.0 and later.
      • setRecipientResponseHandler

        public void setRecipientResponseHandler​(org.robovm.objc.block.VoidBlock2<GKPlayer,​GKInviteRecipientResponse> v)
        Since:
        Available in iOS 8.0 and later.
      • getInviteeResponseHandler

        @Deprecated
        public org.robovm.objc.block.VoidBlock2<NSString,​GKInviteRecipientResponse> getInviteeResponseHandler()
        Deprecated.
        Deprecated in iOS 8.0. use recipientResponseHandler
        Since:
        Available in iOS 6.0 and later.
      • setInviteeResponseHandler

        @Deprecated
        public void setInviteeResponseHandler​(org.robovm.objc.block.VoidBlock2<NSString,​GKInviteRecipientResponse> v)
        Deprecated.
        Deprecated in iOS 8.0. use recipientResponseHandler
        Since:
        Available in iOS 6.0 and later.
      • getMaxPlayersAllowedForMatchType

        public static long getMaxPlayersAllowedForMatchType​(GKMatchType matchType)
        Since:
        Available in iOS 6.0 and later.