@Deprecated public class GKPeerPickerController extends NSObject
Because the GKPeerPickerController class handles all of the user interactions, all you have to do is tell it which GKSession selected peers should be connected to, tell it to start, and then wait to receive a delegate callback when the picker finished connecting peers or cancels.
You must provide a delegate that conforms to the GKPeerPickerControllerDelegate protocol in order to use this class. After the user interface starts, this class notifies your delegate of the user’s actions.
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
GKPeerPickerController(org.moe.natj.general.Pointer peer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly()
Deprecated.
|
static GKPeerPickerController |
alloc()
Deprecated.
|
static GKPeerPickerController |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
Deprecated.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key)
Deprecated.
|
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
Deprecated.
|
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
Deprecated.
|
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver()
Deprecated.
|
static org.moe.natj.objc.Class |
classForKeyedUnarchiver()
Deprecated.
|
long |
connectionTypesMask()
Deprecated.
An integer bit mask that determines what connection types are supported by the application, and displays system-supplied UI as appropriate.
|
static java.lang.String |
debugDescription_static()
Deprecated.
|
GKPeerPickerControllerDelegate |
delegate()
Deprecated.
|
static java.lang.String |
description_static()
Deprecated.
|
void |
dismiss()
Deprecated.
Dismiss the picker.
|
static long |
hash_static()
Deprecated.
|
GKPeerPickerController |
init()
Deprecated.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
|
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
|
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
Deprecated.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass)
Deprecated.
|
boolean |
isVisible()
Deprecated.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key)
Deprecated.
|
static GKPeerPickerController |
new_objc()
Deprecated.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel)
Deprecated.
|
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel)
Deprecated.
|
void |
setConnectionTypesMask(long value)
Deprecated.
An integer bit mask that determines what connection types are supported by the application, and displays system-supplied UI as appropriate.
|
void |
setDelegate_unsafe(GKPeerPickerControllerDelegate value)
Deprecated.
|
void |
setDelegate(GKPeerPickerControllerDelegate value)
Deprecated.
|
static void |
setVersion_static(long aVersion)
Deprecated.
|
void |
show()
Deprecated.
Show the picker.
|
static org.moe.natj.objc.Class |
superclass_static()
Deprecated.
|
static long |
version_static()
Deprecated.
|
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, 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, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected GKPeerPickerController(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static GKPeerPickerController alloc()
public static GKPeerPickerController allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static GKPeerPickerController new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public long connectionTypesMask()
This mask can be specified by combining, using the C bitwise OR operator, any of the options described in GKPickerConnectionType. If not set, the default supported type is GKPickerConnectionTypeNearby. If multiple connection types are supported, system-supplied UI will be presented to allow the user to select a connection type. The delegate receives a -peerPickerController:didSelectConnectionType: callback when the user selects a connection type. If desired, this property should be set prior to calling -show, and should not be set while the picker is visible.
@Deprecated public GKPeerPickerControllerDelegate delegate()
public void dismiss()
public GKPeerPickerController init()
public boolean isVisible()
public void setConnectionTypesMask(long value)
This mask can be specified by combining, using the C bitwise OR operator, any of the options described in GKPickerConnectionType. If not set, the default supported type is GKPickerConnectionTypeNearby. If multiple connection types are supported, system-supplied UI will be presented to allow the user to select a connection type. The delegate receives a -peerPickerController:didSelectConnectionType: callback when the user selects a connection type. If desired, this property should be set prior to calling -show, and should not be set while the picker is visible.
@Deprecated public void setDelegate_unsafe(GKPeerPickerControllerDelegate value)
@Deprecated public void setDelegate(GKPeerPickerControllerDelegate value)
public void show()