コード例 #1
0
 protected virtual void ShowMessageShareComposer(MessageShareComposer _composer)
 {
     if (!IsMessagingServiceAvailable())
     {
         MessagingShareFinished(MessagingShareFailedResponse());
         return;
     }
 }
コード例 #2
0
		protected virtual void ShowMessageShareComposer (MessageShareComposer _composer)
		{
			if (!IsMessagingServiceAvailable())
			{
				MessagingShareFinished(MessagingShareFailedResponse());
				return;
			}
		}
コード例 #3
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);
		}
コード例 #4
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);
		}
コード例 #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);
        }
コード例 #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);
        }
コード例 #7
0
 internal void ShowView(MessageShareComposer composer)
 {
     throw new NotImplementedException();
 }
コード例 #8
0
		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);
		}