protected virtual void ShowTwitterShareComposer(TwitterShareComposer _composer) { if (!IsTwitterShareServiceAvailable()) { TwitterShareFinished(TwitterShareFailedResponse()); return; } }
protected virtual void ShowTwitterShareComposer (TwitterShareComposer _composer) { if (!IsTwitterShareServiceAvailable()) { TwitterShareFinished(TwitterShareFailedResponse()); return; } }
protected override void ShowTwitterShareComposer (TwitterShareComposer _composer) { base.ShowTwitterShareComposer(_composer); if (!IsTwitterShareServiceAvailable()) return; // Native method call int _dataArrayLength = _composer.ImageData == null ? 0 : _composer.ImageData.Length; socialShare((int)eSocialShareServiceType.TWITTER, _composer.Text, _composer.URL, _composer.ImageData, _dataArrayLength); }
protected override void ShowTwitterShareComposer(TwitterShareComposer _composer) { base.ShowTwitterShareComposer(_composer); if (!IsTwitterShareServiceAvailable()) { return; } // Native method call int _dataArrayLength = _composer.ImageData == null ? 0 : _composer.ImageData.Length; socialShare((int)eSocialShareServiceType.TWITTER, _composer.Text, _composer.URL, _composer.ImageData, _dataArrayLength); }
protected override void ShowTwitterShareComposer (TwitterShareComposer _composer) { base.ShowTwitterShareComposer(_composer); if (!IsTwitterShareServiceAvailable()) return; // Native method call int _dataArrayLength = _composer.ImageData == null ? 0 : _composer.ImageData.Length; eShareOptionsAndroid[] _excludedShareOptions = new eShareOptionsAndroid[]{ eShareOptionsAndroid.MAIL, eShareOptionsAndroid.MESSAGE, eShareOptionsAndroid.WHATSAPP, eShareOptionsAndroid.FB, eShareOptionsAndroid.GOOGLE_PLUS, eShareOptionsAndroid.INSTAGRAM }; Plugin.Call(Native.Methods.SHARE, _composer.Text, _composer.URL, _composer.ImageData, _dataArrayLength, _excludedShareOptions.ToJSON()); }
protected override void ShowTwitterShareComposer(TwitterShareComposer _composer) { base.ShowTwitterShareComposer(_composer); if (!IsTwitterShareServiceAvailable()) { return; } // Native method call int _dataArrayLength = _composer.ImageData == null ? 0 : _composer.ImageData.Length; eShareOptionsAndroid[] _excludedShareOptions = new eShareOptionsAndroid[] { eShareOptionsAndroid.MAIL, eShareOptionsAndroid.MESSAGE, eShareOptionsAndroid.WHATSAPP, eShareOptionsAndroid.FB, eShareOptionsAndroid.GOOGLE_PLUS, eShareOptionsAndroid.INSTAGRAM }; Plugin.Call(Native.Methods.SHARE, _composer.Text, _composer.URL, _composer.ImageData, _dataArrayLength, _excludedShareOptions.ToJSON()); }
private void ShareImageOnTwitter () { // Create composer TwitterShareComposer _composer = new TwitterShareComposer(); _composer.Text = m_shareMessage; _composer.AttachImageAtPath(GetImageFullPath()); // Show share view NPBinding.Sharing.ShowView(_composer, FinishedSharing); }
private void ShareScreenshotOnTwitter () { // Create composer TwitterShareComposer _composer = new TwitterShareComposer(); _composer.Text = m_shareMessage; _composer.AttachScreenShot(); // Show share view NPBinding.Sharing.ShowView(_composer, FinishedSharing); }
private void ShareURLOnTwitter () { // Create share sheet TwitterShareComposer _composer = new TwitterShareComposer(); _composer.Text = m_shareMessage; _composer.URL = m_shareURL; // Show composer NPBinding.Sharing.ShowView(_composer, FinishedSharing); }
private void ShareTextMessageOnTwitter () { // Create composer TwitterShareComposer _composer = new TwitterShareComposer(); _composer.Text = m_shareMessage; // Show share view NPBinding.Sharing.ShowView(_composer, FinishedSharing); }