MobileForms Toolkit Documentation

Phone.RegisterMissedCallCountChange Method 

Registers the conditional MissedCallCountChanged event handler.

public void RegisterMissedCallCountChange(
PhoneMissedCallCountChangedEventHandler handler,
StatusComparisonType comparisonType,
int comparisonValue
);

Parameters

handler
The event handler
comparisonType
The comparison type which defines the operation which should be performed on MissedCallCount value.
comparisonValue
The value to which the MissedCallCount value is compared.

Example

void main() { var phone = new Resco.Phone.Phone(); phone.RegisterMissedCallCountChange(OnMoreMissedCalls, StatusComparisonType.More, 1); // ... phone.UnregisterMissedCallCountChange(OnMoreMissedCalls); } void OnMoreMissedCalls(object sender, ChangedValEventArgs<int> args) { System.Diagnostics.Debug.WriteLine("More than one call was missed"); }

See Also

Phone Class | Resco.Phone Namespace