SetUserStateJson() публичный Метод

public SetUserStateJson ( ) : void
Результат void
Пример #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            Root.Add(new Section()
            {
                new StyledStringElement("Subscribe", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.Subscribe();
                }),
                new StyledStringElement("Publish", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.Publish();
                }),
                new StyledStringElement("Presence", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.Presence();
                }),
                new StyledStringElement("Detailed History", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.DetailedHistory();
                }),
                new StyledStringElement("Here Now", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.HereNow();
                }),
                new StyledStringElement("Time", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.GetTime();
                }),
                new StyledStringElement("Unsubscribe", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.Unsub();
                }),
                new StyledStringElement("Presence-Unubscribe", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.UnsubPresence();
                }),
                new StyledStringElement("Subscribe Grant", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SubscribeGrant();
                }),
                new StyledStringElement("Subscribe Audit", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SubscribeAudit();
                }),
                new StyledStringElement("Subscribe Revoke", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SubscribeRevoke();
                }),
                new StyledStringElement("Presence Grant", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.PresenceGrant();
                }),
                new StyledStringElement("Presence Audit", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.PresenceAudit();
                }),
                new StyledStringElement("Presence Revoke", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.PresenceRevoke();
                }),
                new StyledStringElement("Auth Key", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.AuthKey();
                }),
                new StyledStringElement("Presence Heartbeat", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SetPresenceHeartbeat();
                }),
                new StyledStringElement("Presence Interval", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SetPresenceInterval();
                }),
                new StyledStringElement("Set User State Key-Val", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SetUserStateKeyVal();
                }),
                new StyledStringElement("Del User State", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.DelUserState();
                }),
                new StyledStringElement("Set User State Json", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.SetUserStateJson();
                }),
                new StyledStringElement("Get User State", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.GetUserState();
                }),
                new StyledStringElement("Where Now", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.WhereNow();
                }),
                new StyledStringElement("Global Here Now", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.GlobalHereNow();
                }),
                new StyledStringElement("Change UUID", () => {
                    menu.Hide(true);
                    pubnub_MessagingSub.ChangeUuid();
                }),
            });
        }