Пример #1
0
        /// <summary>
        /// Display protocol dialog
        /// </summary>
        private void ShowProtocoldialog()
        {
            //Start to process the protocol dialog box.
            ProtocolDialog dialog = new ProtocolDialog(this);

            dialog.SetCallback(this);
            dialog.SetCanceledOnTouchOutside(false);
            dialog.Show();
        }
Пример #2
0
 public void ShowPrivacyDialog()
 {
     // If a user does not agree to the service agreement, the service agreement dialog is displayed.
     if (GetPreferences(AdsConstant.SpProtocolKey, AdsConstant.DefaultSpProtocolValue) == 0)
     {
         Log.Info(TAG, "Show protocol dialog.");
         ProtocolDialog protocolDialog = new ProtocolDialog(this);
         protocolDialog.SetCallback(this);
         protocolDialog.SetCanceledOnTouchOutside(false);
         protocolDialog.Show();
     }
     else
     {
         SendMessage(ConsentMsgType, MsgDelayMs);
     }
 }
Пример #3
0
 public void ShowPrivacyDialog()
 {
     // If a user does not agree to the service agreement, the service agreement dialog is displayed.
     if (GetPreferences(AdsConstant.SP_PROTOCOL_KEY, AdsConstant.DEFAULT_SP_PROTOCOL_VALUE) == 0)
     {
         Log.Info(TAG, "Show protocol dialog.");
         ProtocolDialog protocolDialog = new ProtocolDialog(this);
         protocolDialog.SetCallback(this);
         protocolDialog.SetCanceledOnTouchOutside(false);
         protocolDialog.Show();
     }
     else
     {
         SendMessage(CONSENT_MSG_TYPE, MSG_DELAY_MS);
     }
 }