title | description | author | ms.author | ms.date | ms.topic | ms.assetid | ms.prod |
---|---|---|---|---|---|---|---|
Xamarin.Mac SDK API diff |
List of API changes for Xamarin.Mac. |
spouliot |
sepoulio |
10/27/2023 |
article |
f833f3cb-eea7-c1b8-a706-dfbb597746ea |
xamarin |
Added methods:
public virtual AppKit.NSViewController ChallengeComposeControllerWithMessage (string message, GKPlayer[] players, GKChallengeComposeHandler2 completionHandler);
public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players);
public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players, out AppKit.NSViewController result);
Added property:
public virtual Foundation.NSNumber RarityPercent { get; }
Added methods:
public virtual AppKit.NSViewController ChallengeComposeControllerWithMessage (string message, GKPlayer[] players, GKChallengeComposeHandler2 completionHandler);
public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players);
public virtual System.Threading.Tasks.Task<GKChallengeComposeControllerResult> ChallengeComposeControllerWithMessageAsync (string message, GKPlayer[] players, out AppKit.NSViewController result);
Added property:
public virtual System.Action<GKPlayer,GameKit.GKVoiceChatPlayerState> PlayerVoiceChatStateDidChangeHandler { get; }
public class GKChallengeComposeControllerResult {
// constructors
public GKChallengeComposeControllerResult (AppKit.NSViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers);
// properties
public AppKit.NSViewController ComposeController { get; set; }
public bool IssuedChallenge { get; set; }
public GKPlayer[] SentPlayers { get; set; }
}
public sealed delegate GKChallengeComposeHandler2 : System.MulticastDelegate {
// constructors
public GKChallengeComposeHandler2 (object object, IntPtr method);
// methods
public virtual System.IAsyncResult BeginInvoke (AppKit.NSViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers, System.AsyncCallback callback, object object);
public virtual void EndInvoke (System.IAsyncResult result);
public virtual void Invoke (AppKit.NSViewController composeController, bool issuedChallenge, GKPlayer[] sentPlayers);
}