NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
GKSession(org.moe.natj.general.Pointer peer)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptConnectionFromPeerError(java.lang.String peerID,
org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.
errors: cancelled, or timeout
|
static boolean |
accessInstanceVariablesDirectly()
Deprecated.
|
static GKSession |
alloc()
Deprecated.
|
static GKSession |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
Deprecated.
|
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key)
Deprecated.
|
void |
cancelConnectToPeer(java.lang.String peerID)
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.
|
void |
connectToPeerWithTimeout(java.lang.String peerID,
double timeout)
Deprecated.
Attempt connection to a remote peer.
|
static java.lang.String |
debugDescription_static()
Deprecated.
|
GKSessionDelegate |
delegate()
Deprecated.
|
void |
denyConnectionFromPeer(java.lang.String peerID)
Deprecated.
|
static java.lang.String |
description_static()
Deprecated.
|
void |
disconnectFromAllPeers()
Deprecated.
Disconnect local peer
|
void |
disconnectPeerFromAllPeers(java.lang.String peerID)
Deprecated.
Disconnect a peer from the session (the peer gets disconnected from all connected peers).
|
double |
disconnectTimeout()
Deprecated.
default is 20 seconds
|
java.lang.String |
displayName()
Deprecated.
|
java.lang.String |
displayNameForPeer(java.lang.String peerID)
Deprecated.
Return the application chosen name of a specific peer
|
static long |
hash_static()
Deprecated.
|
GKSession |
init()
Deprecated.
|
GKSession |
initWithSessionIDDisplayNameSessionMode(java.lang.String sessionID,
java.lang.String name,
int mode)
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.
|
boolean |
isAvailable()
Deprecated.
Toggle availability on the network based on session mode and search criteria.
|
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass)
Deprecated.
|
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key)
Deprecated.
|
static GKSession |
new_objc()
Deprecated.
|
java.lang.String |
peerID()
Deprecated.
session's peerID
|
NSArray<?> |
peersWithConnectionState(int state)
Deprecated.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel)
Deprecated.
|
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel)
Deprecated.
|
boolean |
sendDataToAllPeersWithDataModeError(NSData data,
int mode,
org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.
|
boolean |
sendDataToPeersWithDataModeError(NSData data,
NSArray<?> peers,
int mode,
org.moe.natj.general.ptr.Ptr<NSError> error)
Deprecated.
|
java.lang.String |
sessionID()
Deprecated.
|
int |
sessionMode()
Deprecated.
|
void |
setAvailable(boolean value)
Deprecated.
Toggle availability on the network based on session mode and search criteria.
|
void |
setDataReceiveHandlerWithContext(java.lang.Object handler,
org.moe.natj.general.ptr.VoidPtr context)
Deprecated.
SEL = -receiveData:fromPeer:inSession:context:
|
void |
setDelegate_unsafe(GKSessionDelegate value)
Deprecated.
|
void |
setDelegate(GKSessionDelegate value)
Deprecated.
|
void |
setDisconnectTimeout(double value)
Deprecated.
default is 20 seconds
|
static void |
setVersion_static(long aVersion)
Deprecated.
|
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, willChangeValuesAtIndexesForKeypublic static boolean accessInstanceVariablesDirectly()
public static GKSession alloc()
public static GKSession 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 GKSession 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 boolean acceptConnectionFromPeerError(java.lang.String peerID,
org.moe.natj.general.ptr.Ptr<NSError> error)
public void cancelConnectToPeer(java.lang.String peerID)
public void connectToPeerWithTimeout(java.lang.String peerID,
double timeout)
Success results in a call to delegate -session:peer:didChangeState: GKPeerStateConnected Failure results in a call to delegate -session:connectionWithPeerFailed:withError:
@Deprecated public GKSessionDelegate delegate()
public void denyConnectionFromPeer(java.lang.String peerID)
public void disconnectFromAllPeers()
public void disconnectPeerFromAllPeers(java.lang.String peerID)
public double disconnectTimeout()
public java.lang.String displayName()
public java.lang.String displayNameForPeer(java.lang.String peerID)
@Deprecated public GKSession initWithSessionIDDisplayNameSessionMode(java.lang.String sessionID, java.lang.String name, int mode)
public boolean isAvailable()
public void setAvailable(boolean value)
public java.lang.String peerID()
@Deprecated public NSArray<?> peersWithConnectionState(int state)
@Deprecated public boolean sendDataToPeersWithDataModeError(NSData data, NSArray<?> peers, int mode, org.moe.natj.general.ptr.Ptr<NSError> error)
@Deprecated public boolean sendDataToAllPeersWithDataModeError(NSData data, int mode, org.moe.natj.general.ptr.Ptr<NSError> error)
public java.lang.String sessionID()
@Deprecated public int sessionMode()
public void setDataReceiveHandlerWithContext(java.lang.Object handler,
org.moe.natj.general.ptr.VoidPtr context)
@Deprecated public void setDelegate_unsafe(GKSessionDelegate value)
@Deprecated public void setDelegate(GKSessionDelegate value)
public void setDisconnectTimeout(double value)