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()); }