Example #1
0
        private NotificationCreator()
        {
            this.pubnub = new PubnubAPI(
                "pub-c-64796d9d-5e70-4409-b54d-44a0351fee2e",               // PUBLISH_KEY
                "sub-c-b55bc4f6-3d9c-11e4-8e82-02ee2ddab7fe",               // SUBSCRIBE_KEY
                "sec-c-ZDZlZGFhYmUtYjdmOS00MDQ3LWFiYjYtNTYyY2Y1YmRkZmJl",   // SECRET_KEY
                true                                                        // SSL_ON?
                );

            this.channel = "TodoNotification";
        }