Instance Method

invalidate

Invalidates an activity and marks it as no longer eligible for continuation.

Declaration

- (void)invalidate;

Discussion

Call this method when the user stops engaging in the associated activity and that activity is no longer available. For example, you might call this method when the user closes the window associated with the activity. After calling this method on a user activity object, calling the becomeCurrent method on that object has no effect.

See Also

Registering and Invalidating User Activities

- becomeCurrent

Marks the activity as currently in use by the user.

- resignCurrent

Marks this activity object as inactive without invalidating it.