다음을 통해 공유


GKTurnBasedMatch.SendExchangeAsync 메서드

정의

에 나열된 플레이어에게 교환 요청을 보냅니다 participants.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange> SendExchangeAsync (GameKit.GKTurnBasedParticipant[] participants, Foundation.NSData data, string localizableMessage, Foundation.NSObject[] arguments, double timeout);
abstract member SendExchangeAsync : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double -> System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange>
override this.SendExchangeAsync : GameKit.GKTurnBasedParticipant[] * Foundation.NSData * string * Foundation.NSObject[] * double -> System.Threading.Tasks.Task<GameKit.GKTurnBasedExchange>

매개 변수

participants
GKTurnBasedParticipant[]
data
NSData
localizableMessage
String
arguments
NSObject[]
timeout
Double

반환

비동기 SendExchange 작업을 나타내는 작업입니다. TResult 매개 변수의 값은 System.Action<GameKit.GKTurnBasedExchange,Foundation.NSError> 형식입니다.

특성

적용 대상