Beispiel #1
0
        public override void File(Pubnub pubnub, PNFileEventResult fileEvent)
        {
            PNFileEventResult message1 = new PNFileEventResult();

            message1.Channel      = fileEvent.Channel;
            message1.Message      = fileEvent.Message;
            message1.Subscription = fileEvent.Subscription;
            message1.Timetoken    = fileEvent.Timetoken;
            message1.Publisher    = fileEvent.Publisher;
            message1.File         = fileEvent.File;

            fileAction?.Invoke(pubnub, message1);
        }
Beispiel #2
0
 public abstract void File(Pubnub pubnub, PNFileEventResult fileEvent);