forked from xamarin/GoogleApisForiOSComponents
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Extras.cs
33 lines (28 loc) · 829 Bytes
/
Extras.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using Foundation;
namespace Google.Play.GameServices
{
public partial class RealTimeRoom
{
public int SendReliableData (NSData data, RealTimeParticipant [] participants)
{
var array = NSArray.FromObjects (participants);
return _SendReliableData (data, array);
}
public int SendReliableData (NSData data, string [] participantsId)
{
var array = NSArray.FromObjects (participantsId);
return _SendReliableData (data, array);
}
public void SendUnreliableData (NSData data, RealTimeParticipant [] participants)
{
var array = NSArray.FromObjects (participants);
_SendUnreliableData (data, array);
}
public void SendUnreliableData (NSData data, string [] participantsId)
{
var array = NSArray.FromObjects (participantsId);
_SendUnreliableData (data, array);
}
}
}