Microsoft SDK for Java

SimpleTransferSession Class Constructors

The SimpleTransferSession Class contains the following constructors:

SimpleTransferSession(MetaObject data, int available)
SimpleTransferSession(MetaObject data, int available, int preferred)

SimpleTransferSession(MetaObject data, int available)

Creates a SimpleTransferSession object with a data object and the specified available transfers. The preferred transfers of the SimpleTransferSession object default to the specified available transfers.

Syntax

public SimpleTransferSession(MetaObject data, int available);

Parameters

data The MetaObject that represents the data that is transferred by the transfer session.
available A value that identifies the available transfer effects. It can be any one or a combination of the following values:

NONE, COPY, MOVE, or LINK.


SimpleTransferSession(MetaObject data, int available, int preferred)

Creates a SimpleTransferSession data transfer session object with a data object and specified available and preferred transfer effects.

Syntax

public SimpleTransferSession(MetaObject data, int available, int preferred);

Parameters

data A MetaObject that represents the data that is transferred by the transfer session.
available A value that identifies the available transfer effects. It can be any one or a combination of the following values:

NONE, COPY, MOVE, or LINK.

preferred An integer that identifies the preferred transfer effects. It can be any one or a combination of the following values:

NONE, COPY, MOVE, or LINK.


© 1999 Microsoft Corporation. All rights reserved. Terms of use.