Jump to content

MessageCommand TimeoutMs


Recommended Posts

ginjaninja
Posted

Hi Team,
I am using "toast" messages in my plugins more and more and i am unable to get  control over their timeout.
 

public class MessageCommand
{
    public string Header { get; set; }

    public string Text { get; set; }

    public long? TimeoutMs { get; set; }
}

I have upped the timeout to 15000 ms and the most i get is 3 seconds (which is better than default but not 15000 ms) . tested on on Android and Webclient (4.10.0.25 alhtough not a recent issue). I mention it as a potential issue although 3 seconds is probably enough for my needs.

What spurred me to raise this, was a user complained that they recieved  as message of what i assume was from me restarting the server, but it went so quickly they couldnt read it so rang me (they were on webclient on internet over 1Gbit connection end to end, playing a show). Perhaps even the inbuilt messages are not getting enough screentime love? 🙂

Posted

I think the default is 3300 right now. It's meant to be like a toast, so it shouldn't have more than a few words.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...