Adobe.com
Contents Suites Classes Class Index Member Index

ASUserInteractionSuite Struct Reference
[API Suite List]

This suite provides access to the application preference for how the application responds to messages. More...

#include <ASUserInteraction.h>

List of all members.

Public Attributes

ASAPI ASInteractionAllowed(* GetInteractionAllowed )(void)
 Reports the level of interaction that is allowed between the application and the user, according to the application preference.
ASAPI ASErr(* SetInteractionAllowed )(ASInteractionAllowed allowed)
 Sets the level of interaction that is allowed between the application and the user.
ASAPI ASBoolean(* InteractWithUser )(void)
 Reports whether interaction is allowed between the application and the user in the current application context.
ASAPI ASErr(* LogInteraction )(const char *msg)
 Sets the log message using a C string.
ASAPI ASErr(* LogInteractionW )(const ASUnicode *msg)
 Sets the log message using a Unicode string.

Detailed Description

This suite provides access to the application preference for how the application responds to messages.

When user interaction is on, the application displays alerts in response to informational, warning, and error messages. When it is off, the application writes to a log file.


Member Data Documentation

Reports the level of interaction that is allowed between the application and the user, according to the application preference.

(Note that this function returns a constant value, not an error code.)

Returns:
The interaction level constant.

Reports whether interaction is allowed between the application and the user in the current application context.

(Note that this function returns a boolean value, not an error code.)

Returns:
True if the interaction level is anything other than kASInteractWithNone.

Referenced by ASUserInteractionChecker::InteractWithUser().

ASAPI ASErr(* ASUserInteractionSuite::LogInteraction)(const char *msg)

Sets the log message using a C string.

This message is written to the log file when an alert condition occurs, if user interactivity is turned off.

Parameters:
msg The message text, a null-terminated UTF-8 string.

Referenced by ASUserInteractionChecker::logInfo().

Sets the log message using a Unicode string.

This message is written to the log file when an alert condition occurs, if user interactivity is turned off.

Parameters:
msg The message text, a null-terminated UTF-16 string.

Sets the level of interaction that is allowed between the application and the user.

The default value is kASInteractWithAll.

Parameters:
allowed The interaction level constant.

The documentation for this struct was generated from the following file:


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2014 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks