Package 

Class QueueTicket


  • 
    public class QueueTicket
    
                        

    A ticket for Visitor's spot in the Queue.

    This ticket can be received from Glia event QUEUE_TICKET. See on for more information on events.

    Here is an example of how to cancel Visitor Queue Ticket:

     Glia.on(Glia.Events.QUEUE_TICKET, queueTicket -> { queueTicket.cancel(exception -> { if (exception == null) { // handle success } else { // handle error } }); }); 
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String id
    • Method Summary

      Modifier and Type Method Description
      String getId()
      void cancel() Cancel Visitor's spot in the Queue.
      void cancel(@NonNull() Consumer<GliaException> callback) Cancel Visitor's spot in the Queue.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait