public async Task <bool> SendMenuItem(ICameraMenuItem value) { ReportAction(value); if (value != null) { return(await Try(async() => await http.Get <BaseRequestResult>(new Dictionary <string, string> { { "mode", value.Command }, { "type", value.CommandType }, { "value", value.Value } }))); } return(false); }
protected bool Equals(ICameraMenuItem other) { return(string.Equals(Text, other.Id)); }