更新时间:2023-02-26 21:06:01
为此我们使用了标记.每个用户都有一个用户ID,因此当设备以天蓝色注册时,您可以将其用户ID作为标签添加到注册中.
We use tags for this. Each user has a user Id and so when the device registers with azure, you add their user Id as a tag to the registration.
protected override void OnRegistered(Context context, string registrationId) {
...
var tags = new List<string>() { "userId4" }; // Your UserId here
...
}