protected virtual void ShowMessageShareComposer(MessageShareComposer _composer)
 {
     if (!IsMessagingServiceAvailable())
     {
         MessagingShareFinished(MessagingShareFailedResponse());
         return;
     }
 }
		protected virtual void ShowMessageShareComposer (MessageShareComposer _composer)
		{
			if (!IsMessagingServiceAvailable())
			{
				MessagingShareFinished(MessagingShareFailedResponse());
				return;
			}
		}
		protected override void ShowMessageShareComposer (MessageShareComposer _composer)
		{
			base.ShowMessageShareComposer (_composer);

			if (!IsMessagingServiceAvailable())
				return;

			// Native method call
			string _recipientJSONList	= _composer.ToRecipients == null ? null : _composer.ToRecipients.ToJSON();

			sendTextMessage(_composer.Body, _recipientJSONList);
		}
		protected override void ShowMessageShareComposer (MessageShareComposer _composer)
		{
			base.ShowMessageShareComposer (_composer);
			
			if (!IsMessagingServiceAvailable())
				return;
			
			// Native method call
			string _recipientJSONList	= _composer.ToRecipients == null ? null : _composer.ToRecipients.ToJSON();

			// Native method is called
			Plugin.Call(Native.Methods.SEND_SMS, _composer.Body, _recipientJSONList);
		}
Exemple #5
0
        protected override void ShowMessageShareComposer(MessageShareComposer _composer)
        {
            base.ShowMessageShareComposer(_composer);

            if (!IsMessagingServiceAvailable())
            {
                return;
            }

            // Native method call
            string _recipientJSONList = _composer.ToRecipients == null ? null : _composer.ToRecipients.ToJSON();

            sendTextMessage(_composer.Body, _recipientJSONList);
        }
Exemple #6
0
        protected override void ShowMessageShareComposer(MessageShareComposer _composer)
        {
            base.ShowMessageShareComposer(_composer);

            if (!IsMessagingServiceAvailable())
            {
                return;
            }

            // Native method call
            string _recipientJSONList = _composer.ToRecipients == null ? null : _composer.ToRecipients.ToJSON();

            // Native method is called
            Plugin.Call(Native.Methods.SEND_SMS, _composer.Body, _recipientJSONList);
        }
Exemple #7
0
 internal void ShowView(MessageShareComposer composer)
 {
     throw new NotImplementedException();
 }
		private void SendTextMessage ()
		{
			// Create composer
			MessageShareComposer	_composer	= new MessageShareComposer();
			_composer.Body						= m_smsBody;
			_composer.ToRecipients				= m_smsRecipients;

			// Show message composer
			NPBinding.Sharing.ShowView(_composer, FinishedSharing);
		}