public void gettags() { OneSignal.GetTags((tags) => { CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => { gettagsevent(this, new GetTagsEventArgs() { tags = JsonConvert.SerializeObject(tags) }); }); }); }
public void IdsAvailable(string oneSignalUserId, string registrationId) { var user = App.CurrentUserEnvironment.User; var idUser = user.IdUser.ToString(); var credentials = string.Format("{0}/{1}/{2}", user.LastName, user.FirstName, user.Email); //Sync email OneSignal.SyncHashedEmail(user.Email); //Create user tags OneSignal.GetTags(new GetTagsHandler(idUser, credentials)); //Silent notification OneSignal.SetInFocusDisplaying(OneSignal.OSInFocusDisplayOption.None); }
public void OneSignalGetTags_managed() { OneSignal.GetTags((tags) => { m_Native.CLR_TO_MARM_TagsReceivedCallback((tags == null) ? "" : JObject.FromObject(tags).ToString()); }); }
public void GetTags() { OneSignal.GetTags(GetTagsHandler); }