protected override async Task <string> ExecuteAsync() { try { String sessionKey = TextSecurePreferences.getSignalingKey(); TextSecureEnvelope envelope = new TextSecureEnvelope(data, sessionKey); handle(envelope, true); } catch (/*IOException | InvalidVersion*/ Exception e) { Debug.WriteLine($"{this.GetType().Name}: Error: {e.Message}"); } return(""); }
public String GetSignalingKey() { return(TextSecurePreferences.getSignalingKey()); }