Cancellation

Cancellation

Overview

Cancellation is a class in Aspose.3D FOSS for Java.

Cancellation.Cancellation creates a new cancellation token instance.

This class provides 3 methods for working with Cancellation objects in Java programs. Available methods include: Cancellation, cancel, isCancelled. All exported members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: cancelled.

Description

Cancellation is a class in the Aspose.3D FOSS library for Java that exposes 2 methods and 1 property for programmatic use.

Core capabilities include: boolean; marks the token as cancelled. These operations enable developers to integrate cancellation functionality directly into Java applications.

The class also provides the cancelled property (gets the cancelled).

Instances are created through a single constructor that initializes the object with default values.

Properties

NameTypeAccessDescription
cancelledbooleanReadGets the cancelled.

Methods

SignatureDescription
Cancellation()Creates a new cancellation token instance
isCancelled()booleanReturns true if cancelled is set.
cancel()Marks the token as cancelled

See Also