示例#1
0
        public void HereNow()
        {
            var dialog = new GrantDialogFragment(CommonDialogStates.HereNow, this);

            dialog.GrantPerms += HandleGrantPerms;
            dialog.Show(SupportFragmentManager, "dialog");
        }
示例#2
0
        void GlobalHereNow()
        {
            var dialog = new GrantDialogFragment(CommonDialogStates.GlobalHereNow);

            dialog.GrantPerms += HandleGrantPerms;
            dialog.Show(SupportFragmentManager, "dialog");
        }
示例#3
0
        public void Publish()
        {
            var dialog = new GrantDialogFragment(CommonDialogStates.Publish);

            dialog.GrantPerms += HandleGrantPerms;
            dialog.Show(SupportFragmentManager, "dialog");
        }
示例#4
0
        void RunGrant(bool isPresenceGrant)
        {
            var dialog = new GrantDialogFragment(CommonDialogStates.Grant, this);

            dialog.IsPresenceGrant = isPresenceGrant;
            dialog.GrantPerms     += HandleGrantPerms;
            dialog.Show(SupportFragmentManager, "dialog");
        }
示例#5
0
        public void HereNow()
        {
            //Display ("Running Here Now");

            /*string[] channels = channel.Split (',');
             * foreach (string channelToCall in channels) {
             *  pubnub.HereNow<string> (channelToCall.Trim (), DisplayReturnMessage, DisplayErrorMessage);
             * }*/
            var dialog = new GrantDialogFragment(CommonDialogStates.HereNow, this);

            dialog.GrantPerms += HandleGrantPerms;
            dialog.Show(SupportFragmentManager, "dialog");
        }
示例#6
0
 void RunChannelGroupGrant (bool isPresenceGrant)
 {
     var dialog = new GrantDialogFragment (CommonDialogStates.ChannelGroupGrant, this);
     dialog.IsPresenceGrant = isPresenceGrant;
     dialog.GrantPerms += HandleGrantPerms;
     dialog.Show (SupportFragmentManager, "dialog");
 }
示例#7
0
        public void HereNow ()
        {
            //Display ("Running Here Now");
            /*string[] channels = channel.Split (',');
            foreach (string channelToCall in channels) {
                pubnub.HereNow<string> (channelToCall.Trim (), DisplayReturnMessage, DisplayErrorMessage);
            }*/
            var dialog = new GrantDialogFragment (CommonDialogStates.HereNow, this);
            dialog.GrantPerms += HandleGrantPerms;
            dialog.Show (SupportFragmentManager, "dialog");

        }
示例#8
0
 public void Publish ()
 {
     var dialog = new GrantDialogFragment (CommonDialogStates.Publish, this);
     dialog.GrantPerms += HandleGrantPerms;
     dialog.Show (SupportFragmentManager, "dialog");
 }
示例#9
0
 void GlobalHereNow ()
 {
     var dialog = new GrantDialogFragment (CommonDialogStates.GlobalHereNow, this);
     dialog.GrantPerms += HandleGrantPerms;
     dialog.Show (SupportFragmentManager, "dialog");
 }
示例#10
0
 void RunGrant (bool isPresenceGrant)
 {
     var dialog = new GrantDialogFragment();
     dialog.IsPresenceGrant = isPresenceGrant;
     dialog.GrantPerms += HandleGrantPerms;
     dialog.Show(SupportFragmentManager, "dialog");
 }