我正在尝试将设备注册到精确位置,但是我收到消息:
public string Register()
{
String identityId = Credentials.GetIdentityId();
RegisterDeviceRequest registerDevice = RegisterDevice(identityId);
AmazonCognitoSyncClient AmazonCognitoSyncClient = new AmazonCognitoSyncClient(AwsCredentials, RegionEndpoint.EUWest1);
SynAmazonCognitoSyncClient(registerDevice, AmazonCognitoSyncClient);
return null;
}
private static System.Threading.Tasks.Task<RegisterDeviceResponse> SynAmazonCognitoSyncClient(RegisterDeviceRequest registerDevice, AmazonCognitoSyncClient AmazonCognitoSyncClient)
{
return AmazonCognitoSyncClient.RegisterDeviceAsync(registerDevice);
}
但是我在SynAmazonCognitoSyncClient上收到了超时
在精确的仪表板中,我没有注册任何设备。
某些人还有其他形式可以将设备注册到xamarin形式的aws中吗?