public bool ShareDialog(Uri photoURL = null) { if (!HasHandshook) { HandShake(); } InstagramShare.ShareInstagram(photoURL != null ? photoURL.AbsoluteUrlOrEmptyString() : null); return(true); }
public override void ShareLink( Uri contentURL, string contentTitle, string contentDescription, Uri photoURL, FacebookDelegate <IShareResult> callback) { this.iosWrapper.ShareLink( this.AddCallback(callback), contentURL.AbsoluteUrlOrEmptyString(), contentTitle, contentDescription, photoURL.AbsoluteUrlOrEmptyString()); }
public override void ShareVideo( string contentTitle, string contentDescription, Uri previewPhotoURL, Uri videoURL, FacebookDelegate <IShareResult> callback) { this.iosWrapper.ShareVideo( this.AddCallback(callback), contentTitle, contentDescription, previewPhotoURL.AbsoluteUrlOrEmptyString(), videoURL.AbsoluteUrlOrEmptyString()); }
public bool ShareDialog(Uri contentURL = null, Uri photoURL = null, string contentTitle = null, string contentDescription = null, Action doneCallback = null) { this.doneCallback = doneCallback; FacebookDelegate <IShareResult> callback = ShareMessengerCallback; MessengerShare.ShareMessenger(this.AddCallback(callback), contentURL != null ? contentURL.AbsoluteUrlOrEmptyString() : null, contentTitle, contentDescription, photoURL != null ? photoURL.AbsoluteUrlOrEmptyString() : null); return(true); }
public override void SharePhoto( Texture2D texture2D, Uri photoURL, bool userGenerated, string caption, FacebookDelegate <IShareResult> callback) { var tempPhotoPath = texture2D != null?Utilities.SaveTexture2DtoPNG(texture2D, "tempSharePhoto") : photoURL.AbsoluteUrlOrEmptyString(); this.iosWrapper.SharePhoto( this.AddCallback(callback), "", tempPhotoPath, userGenerated, caption); }