public override void Test() { SA_ScreenUtil.TakeScreenshot((screenshot) => { ISN_Whatsapp.Post(screenshot); SetResult(SA_TestResult.OK); }); }
public void ShareToWhatsapp(UM_ShareDialogBuilder builder, Action <SA_Result> callback) { if (builder.Images.Count > 0) { ISN_Whatsapp.Post(builder.Images[0]); } else { ISN_Whatsapp.Post(builder.TextWithUrl); } callback.Invoke(new SA_Result()); }