private CallClientApi ( string desc, System.Action call, Action |
||
desc | string | |
call | System.Action | |
callback | Action |
|
return | void |
public override void open(OnSnapshotResultListener listener) { Logger.d("SnapshotMetadataAndroid.open"); mClient.CallClientApi("open snapshot metadata", () => { mClient.GHManager.CallGmsApiWithResult( "games.Games", "Snapshots", "open", new OnOpenResultProxy(mClient, listener), mMetaObj ); }, null); }
public override void commitAndClose(OnSnapshotResultListener listener, SnapshotMetadataChange metadataChange) { var change = metadataChange as SnapshotMetadataChangeAndroid; mClient.CallClientApi("Commit snapshot", () => { mClient.GHManager.CallGmsApiWithResult( "games.Games", "Snapshots", "commitAndClose", new OnCommitResultProxy(mClient, listener), mObj, change.javaObj() ); }, null); }