Package apple.gamekit
Class GKScore
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.gamekit.GKScore
-
- All Implemented Interfaces:
NSCoding,NSSecureCoding,NSObject
@Deprecated public class GKScore extends NSObject implements NSCoding, NSSecureCoding
Deprecated.GKScore represents a score in the leaderboards. API-Since: 4.1 Deprecated-Since: 14.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGKScore.Block_challengeComposeControllerWithMessagePlayersCompletionDeprecated.static interfaceGKScore.Block_challengeComposeControllerWithMessagePlayersCompletionHandlerDeprecated.static interfaceGKScore.Block_challengeComposeControllerWithPlayersMessageCompletionHandlerDeprecated.static interfaceGKScore.Block_reportLeaderboardScoresWithEligibleChallengesWithCompletionHandlerDeprecated.static interfaceGKScore.Block_reportScoresWithCompletionHandlerDeprecated.static interfaceGKScore.Block_reportScoresWithEligibleChallengesWithCompletionHandlerDeprecated.static interfaceGKScore.Block_reportScoreWithCompletionHandlerDeprecated.-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGKScore(org.moe.natj.general.Pointer peer)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()Deprecated.This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()Deprecated.static GKScorealloc()Deprecated.static GKScoreallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)Deprecated.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)Deprecated.static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)Deprecated.static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)Deprecated.@Nullable java.lang.Stringcategory()Deprecated.@NotNull UIViewControllerchallengeComposeControllerWithMessagePlayersCompletion(@Nullable java.lang.String message, @Nullable NSArray<? extends GKPlayer> players, @Nullable GKScore.Block_challengeComposeControllerWithMessagePlayersCompletion completionHandler)Deprecated.API-Since: 17.0@NotNull UIViewControllerchallengeComposeControllerWithMessagePlayersCompletionHandler(@Nullable java.lang.String message, @Nullable NSArray<? extends GKPlayer> players, @Nullable GKScore.Block_challengeComposeControllerWithMessagePlayersCompletionHandler completionHandler)Deprecated.@Nullable UIViewControllerchallengeComposeControllerWithPlayersMessageCompletionHandler(@Nullable NSArray<java.lang.String> playerIDs, @Nullable java.lang.String message, @Nullable GKScore.Block_challengeComposeControllerWithPlayersMessageCompletionHandler completionHandler)Deprecated.static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()Deprecated.static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()Deprecated.longcontext()Deprecated.optional additional context that allows a game to store and retrieve additional data associated with the store.@NotNull NSDatedate()Deprecated.The date this score was recorded.static java.lang.StringdebugDescription_static()Deprecated.static java.lang.Stringdescription_static()Deprecated.voidencodeWithCoder(@NotNull NSCoder coder)Deprecated.@Nullable java.lang.StringformattedValue()Deprecated.The score formatted as a string, localized with a labelstatic longhash_static()Deprecated.GKScoreinit()Deprecated.GKScoreinitWithCategory(@Nullable java.lang.String category)Deprecated.GKScoreinitWithCoder(@NotNull NSCoder coder)Deprecated.NS_DESIGNATED_INITIALIZERGKScoreinitWithLeaderboardIdentifier(@NotNull java.lang.String identifier)Deprecated.Initialize the score with the local player and current date.GKScoreinitWithLeaderboardIdentifierForPlayer(@NotNull java.lang.String identifier, @NotNull java.lang.String playerID)Deprecated.GKScoreinitWithLeaderboardIdentifierPlayer(@NotNull java.lang.String identifier, @NotNull GKPlayer player)Deprecated.Initialize the achievement for a specific player.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)Deprecated.static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)Deprecated.static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)Deprecated.static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)Deprecated.voidissueChallengeToPlayersMessage(@Nullable NSArray<java.lang.String> playerIDs, @Nullable java.lang.String message)Deprecated.static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)Deprecated.@NotNull java.lang.StringleaderboardIdentifier()Deprecated.leaderboard identifier (required) API-Since: 7.0static GKScorenew_objc()Deprecated.@Nullable GKPlayerplayer()Deprecated.The player that recorded the score.@Nullable java.lang.StringplayerID()Deprecated.longrank()Deprecated.The rank of the player within the leaderboard, only valid when returned from GKLeaderboardstatic voidreportLeaderboardScoresWithEligibleChallengesWithCompletionHandler(@NotNull NSArray<? extends GKLeaderboardScore> scores, @NotNull NSArray<? extends GKChallenge> challenges, @Nullable GKScore.Block_reportLeaderboardScoresWithEligibleChallengesWithCompletionHandler completionHandler)Deprecated.API-Since: 14.0static voidreportScoresWithCompletionHandler(@NotNull NSArray<? extends GKScore> scores, @Nullable GKScore.Block_reportScoresWithCompletionHandler completionHandler)Deprecated.Report scores to the server.static voidreportScoresWithEligibleChallengesWithCompletionHandler(@NotNull NSArray<? extends GKScore> scores, @NotNull NSArray<? extends GKChallenge> challenges, @Nullable GKScore.Block_reportScoresWithEligibleChallengesWithCompletionHandler completionHandler)Deprecated.voidreportScoreWithCompletionHandler(@Nullable GKScore.Block_reportScoreWithCompletionHandler completionHandler)Deprecated.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)Deprecated.static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)Deprecated.voidsetCategory(@Nullable java.lang.String value)Deprecated.voidsetContext(long value)Deprecated.optional additional context that allows a game to store and retrieve additional data associated with the store.voidsetLeaderboardIdentifier(@NotNull java.lang.String value)Deprecated.leaderboard identifier (required) API-Since: 7.0voidsetShouldSetDefaultLeaderboard(boolean value)Deprecated.Convenience property to make the leaderboard associated with this GKScore, the default leaderboard for this player.voidsetValue(long value)Deprecated.The score value as a 64bit integer.static voidsetVersion_static(long aVersion)Deprecated.booleanshouldSetDefaultLeaderboard()Deprecated.Convenience property to make the leaderboard associated with this GKScore, the default leaderboard for this player.static org.moe.natj.objc.Classsuperclass_static()Deprecated.static booleansupportsSecureCoding()Deprecated.static booleanuseStoredAccessor()Deprecated.longvalue()Deprecated.The score value as a 64bit integer.static longversion_static()Deprecated.-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
Deprecated.
-
alloc
public static GKScore alloc()
Deprecated.
-
allocWithZone
public static GKScore allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
Deprecated.
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)Deprecated.
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)Deprecated.
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)Deprecated.
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
Deprecated.
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
Deprecated.
-
debugDescription_static
public static java.lang.String debugDescription_static()
Deprecated.
-
description_static
public static java.lang.String description_static()
Deprecated.
-
hash_static
public static long hash_static()
Deprecated.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
Deprecated.
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
Deprecated.
-
new_objc
public static GKScore new_objc()
Deprecated.
-
reportScoresWithCompletionHandler
public static void reportScoresWithCompletionHandler(@NotNull @NotNull NSArray<? extends GKScore> scores, @Nullable @Nullable GKScore.Block_reportScoresWithCompletionHandler completionHandler)Deprecated.Report scores to the server. The value must be set, and date may be changed. Possible reasons for error: 1. Value not set 2. Local player not authenticated 3. Communications problem API-Since: 6.0
-
reportScoresWithEligibleChallengesWithCompletionHandler
@Deprecated public static void reportScoresWithEligibleChallengesWithCompletionHandler(@NotNull @NotNull NSArray<? extends GKScore> scores, @NotNull @NotNull NSArray<? extends GKChallenge> challenges, @Nullable @Nullable GKScore.Block_reportScoresWithEligibleChallengesWithCompletionHandler completionHandler)Deprecated.Use this alternative to reportScores:withCompletionHandler: to allow only certain specific challenges to be completed. Pass nil to avoid completing any challenges. API-Since: 6.0 Deprecated-Since: 14.0
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
Deprecated.
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
Deprecated.
-
setVersion_static
public static void setVersion_static(long aVersion)
Deprecated.
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
Deprecated.
-
supportsSecureCoding
public static boolean supportsSecureCoding()
Deprecated.
-
version_static
public static long version_static()
Deprecated.
-
category
@Nullable @Deprecated public @Nullable java.lang.String category()
Deprecated.API-Since: 4.1 Deprecated-Since: 7.0
-
challengeComposeControllerWithMessagePlayersCompletionHandler
@Deprecated @NotNull public @NotNull UIViewController challengeComposeControllerWithMessagePlayersCompletionHandler(@Nullable @Nullable java.lang.String message, @Nullable @Nullable NSArray<? extends GKPlayer> players, @Nullable @Nullable GKScore.Block_challengeComposeControllerWithMessagePlayersCompletionHandler completionHandler)
Deprecated.API-Since: 8.0 Deprecated-Since: 17.0
-
challengeComposeControllerWithPlayersMessageCompletionHandler
@Nullable @Deprecated public @Nullable UIViewController challengeComposeControllerWithPlayersMessageCompletionHandler(@Nullable @Nullable NSArray<java.lang.String> playerIDs, @Nullable @Nullable java.lang.String message, @Nullable @Nullable GKScore.Block_challengeComposeControllerWithPlayersMessageCompletionHandler completionHandler)
Deprecated.This method is obsolete. Calling this method does nothing and will return nil ** API-Since: 7.0 Deprecated-Since: 8.0
-
context
public long context()
Deprecated.optional additional context that allows a game to store and retrieve additional data associated with the store. Default value of zero is returned if no value is set. API-Since: 5.0
-
date
@NotNull public @NotNull NSDate date()
Deprecated.The date this score was recorded. A newly initialized, unsubmitted GKScore records the current date at init time.
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)Deprecated.- Specified by:
encodeWithCoderin interfaceNSCoding
-
formattedValue
@Nullable public @Nullable java.lang.String formattedValue()
Deprecated.The score formatted as a string, localized with a label
-
initWithCategory
@Deprecated public GKScore initWithCategory(@Nullable @Nullable java.lang.String category)
Deprecated.API-Since: 4.1 Deprecated-Since: 7.0
-
initWithCoder
public GKScore initWithCoder(@NotNull @NotNull NSCoder coder)
Deprecated.Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
initWithLeaderboardIdentifier
public GKScore initWithLeaderboardIdentifier(@NotNull @NotNull java.lang.String identifier)
Deprecated.Initialize the score with the local player and current date.
-
initWithLeaderboardIdentifierForPlayer
@Deprecated public GKScore initWithLeaderboardIdentifierForPlayer(@NotNull @NotNull java.lang.String identifier, @NotNull @NotNull java.lang.String playerID)
Deprecated.This method is obsolete. Calling this initialiser does nothing and will return nil ** API-Since: 7.0 Deprecated-Since: 8.0
-
initWithLeaderboardIdentifierPlayer
public GKScore initWithLeaderboardIdentifierPlayer(@NotNull @NotNull java.lang.String identifier, @NotNull @NotNull GKPlayer player)
Deprecated.Initialize the achievement for a specific player. Use to submit participant scores when ending a turn-based match. API-Since: 8.0
-
issueChallengeToPlayersMessage
@Deprecated public void issueChallengeToPlayersMessage(@Nullable @Nullable NSArray<java.lang.String> playerIDs, @Nullable @Nullable java.lang.String message)Deprecated.This method is obsolete. It will never be invoked and its implementation does nothing** API-Since: 6.0 Deprecated-Since: 7.0
-
leaderboardIdentifier
@NotNull public @NotNull java.lang.String leaderboardIdentifier()
Deprecated.leaderboard identifier (required) API-Since: 7.0
-
player
@Nullable public @Nullable GKPlayer player()
Deprecated.The player that recorded the score. API-Since: 8.0
-
playerID
@Nullable @Deprecated public @Nullable java.lang.String playerID()
Deprecated.The identifier of the player that recorded the score. API-Since: 4.1 Deprecated-Since: 8.0
-
rank
public long rank()
Deprecated.The rank of the player within the leaderboard, only valid when returned from GKLeaderboard
-
reportScoreWithCompletionHandler
@Deprecated public void reportScoreWithCompletionHandler(@Nullable @Nullable GKScore.Block_reportScoreWithCompletionHandler completionHandler)Deprecated.API-Since: 4.1 Deprecated-Since: 7.0
-
setCategory
@Deprecated public void setCategory(@Nullable @Nullable java.lang.String value)Deprecated.API-Since: 4.1 Deprecated-Since: 7.0
-
setContext
public void setContext(long value)
Deprecated.optional additional context that allows a game to store and retrieve additional data associated with the store. Default value of zero is returned if no value is set. API-Since: 5.0
-
setLeaderboardIdentifier
public void setLeaderboardIdentifier(@NotNull @NotNull java.lang.String value)Deprecated.leaderboard identifier (required) API-Since: 7.0
-
setShouldSetDefaultLeaderboard
public void setShouldSetDefaultLeaderboard(boolean value)
Deprecated.Convenience property to make the leaderboard associated with this GKScore, the default leaderboard for this player. Default value is false. If true, reporting that score will make the category this score belongs to, the default leaderboard for this user API-Since: 5.0
-
setValue
public void setValue(long value)
Deprecated.The score value as a 64bit integer.
-
shouldSetDefaultLeaderboard
public boolean shouldSetDefaultLeaderboard()
Deprecated.Convenience property to make the leaderboard associated with this GKScore, the default leaderboard for this player. Default value is false. If true, reporting that score will make the category this score belongs to, the default leaderboard for this user API-Since: 5.0
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Deprecated.Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
value
public long value()
Deprecated.The score value as a 64bit integer.
-
reportLeaderboardScoresWithEligibleChallengesWithCompletionHandler
public static void reportLeaderboardScoresWithEligibleChallengesWithCompletionHandler(@NotNull @NotNull NSArray<? extends GKLeaderboardScore> scores, @NotNull @NotNull NSArray<? extends GKChallenge> challenges, @Nullable @Nullable GKScore.Block_reportLeaderboardScoresWithEligibleChallengesWithCompletionHandler completionHandler)Deprecated.API-Since: 14.0
-
challengeComposeControllerWithMessagePlayersCompletion
@NotNull public @NotNull UIViewController challengeComposeControllerWithMessagePlayersCompletion(@Nullable @Nullable java.lang.String message, @Nullable @Nullable NSArray<? extends GKPlayer> players, @Nullable @Nullable GKScore.Block_challengeComposeControllerWithMessagePlayersCompletion completionHandler)
Deprecated.API-Since: 17.0
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-