private async void load(string url) { HMS.SP.PushNotificationSubscriber spPushNotificationSubscriber = await SPGet.getPushNotificationSubscriber(spglb.myClient, url); this.add_PushNotificationSubscriber(1, spPushNotificationSubscriber); this.hide_running(); }
public int add_PushNotificationSubscriber_deferred(int pos, int level, HMS.SP.PushNotificationSubscriber spPushNotificationSubscriber) { { string useUrl = spPushNotificationSubscriber.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "PushNotificationSubscriber", "", knownPages.pagePushNotificationSubscriber, useUrl); } else { pos = this.add_lineAt(pos, level, true, "PushNotificationSubscriber", "", knownPages.NONE, ""); pos = this.add_PushNotificationSubscriber(pos, level + 1, spPushNotificationSubscriber); } } return(pos); }
public int add_PushNotificationSubscriber(int pos, int level, HMS.SP.PushNotificationSubscriber spPushNotificationSubscriber) { if (spPushNotificationSubscriber.__HMSError_ != null && (spPushNotificationSubscriber.__HMSError_.errno != 0 || spPushNotificationSubscriber.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spPushNotificationSubscriber.__HMSError_)); } pos = this.add__deferred(pos, level, spPushNotificationSubscriber.__deferred_); pos = this.add__metadata(pos, level, spPushNotificationSubscriber.__metadata_); pos = this.add__rest(pos, level, spPushNotificationSubscriber.__rest); pos = this.add_lineAt(pos, level, "CustomArgs", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.CustomArgs_)); //Undefined; pos = this.add_lineAt(pos, level, "DeviceAppInstanceId", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.DeviceAppInstanceId_)); //Undefined; pos = this.add_lineAt(pos, level, "LastModifiedTimeStamp", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.LastModifiedTimeStamp_)); //Object; pos = this.add_lineAt(pos, level, "RegistrationTimeStamp", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.RegistrationTimeStamp_)); //Undefined; pos = this.add_lineAt(pos, level, "ServiceToken", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.ServiceToken_)); //Undefined; pos = this.add_lineAt(pos, level, "SubscriberType", HMS.SP.SPUtil.toString(spPushNotificationSubscriber.SubscriberType_)); //Undefined; pos = this.add_deferredAt(pos, level, "User", "...", knownPages.pageUser, spPushNotificationSubscriber.User_.__deferred_); //User; return(pos); }
public int add_PushNotificationSubscriber(int level, HMS.SP.PushNotificationSubscriber spPushNotificationSubscriber) { return(add_PushNotificationSubscriber(-1, level, spPushNotificationSubscriber)); }