Android Programming Press on the image to return to the main documentation page.

OneShotTimer

Written by Baxter

List of types:

OneShotTimer

OneShotTimer


Events:

None

Members:


  Cancel As String

  Class_Globals As String

  Extend As Boolean [write only]

  Initialize (Callback As Object, EventCalled As String, Parameters As Object, Interval As Long, DelayTrails As Boolean, TimerExtend As Boolean, SubDelayed As Boolean) As String

  Interval As Long [write only]

  IsInitialized As Boolean

  IsRunning As Boolean

  ReTrigger As String

  setExtend (b As Boolean) As String

  setInterval (NewInterval As Long) As String

  Trigger As String

  Trigger_NewEvent (EventCalled As String) As String

  Trigger_NewEvent2 (EventCalled As String, Parameters As Object) As String

  Trigger_NewEventTime (EventCalled As String, Interval As Long) As String

  Trigger_NewEventTime2 (EventCalled As String, Interval As Long, Parameters As Object) As String

  Trigger_NewParameters (Parameters As Object) As String

  Trigger_NewTime (Interval As Long) As String

  Trigger_NewTime2 (Interval As Long, Parameters As Object) As String

Members description:

Cancel As String
Cancel the timer without triggering
Class_Globals As String
Extend As Boolean [write only]
Extend existing time when retriggered
Initialize (Callback As Object, EventCalled As String, Parameters As Object, Interval As Long, DelayTrails As Boolean, TimerExtend As Boolean, SubDelayed As Boolean) As String
Initialize the OneShotTimer to call EventCalled with Parameters after Interval msecs. DelayTrails instead of leads. Extend time on retrigger. CallSub or CallSubDelayed.
The EventCalled should include a _ Character. DelayTrails means the Event triggers immediately and locks out further triggers for the Interval.
Interval As Long [write only]
Set a new timer interval
IsInitialized As Boolean
Tests whether the object has been initialized.
IsRunning As Boolean
Return current timer running state
ReTrigger As String
Start a running timer from the beginning again even if the Extend is not set.
setExtend (b As Boolean) As String
Extend existing time when retriggered
setInterval (NewInterval As Long) As String
Set a new timer interval
Trigger As String
Start the OneShotTimer using the Initialized parameters or the last set of parameters passed in
Trigger_NewEvent (EventCalled As String) As String
Trigger the OneShot with a different Event from that Initialized.
Trigger_NewEvent2 (EventCalled As String, Parameters As Object) As String
Trigger the OneShot with a different Event and Parameters from those Initialized.
Trigger_NewEventTime (EventCalled As String, Interval As Long) As String
Trigger the OneShot with a different Event and Interval from those Initialized
Trigger_NewEventTime2 (EventCalled As String, Interval As Long, Parameters As Object) As String
Trigger the OneShot with a different Event, Interval and Parameters from those Initialized
Trigger_NewParameters (Parameters As Object) As String
Trigger the OneShot with updated parameters from that Initialized.
Trigger_NewTime (Interval As Long) As String
Trigger the OneShot with a different Interval from that Initialized
Trigger_NewTime2 (Interval As Long, Parameters As Object) As String
Trigger the OneShot with a different Interval and Parameters from those Initialized

Top