mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-04 18:47:21 +00:00
30 lines
904 B
C#
30 lines
904 B
C#
namespace AIStudio.Tools.Rust;
|
|||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// What became of a request to open the share sheet of the operating system. Keep in sync with
|
||
|
|
/// ShareOutcome in runtime/src/share_sheet.rs.
|
||
|
|
/// </summary>
|
||
|
|
public enum ShareSheetOutcome
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// The runtime sent an outcome the app does not know, or none at all. The app reads this as a
|
||
|
|
/// failure, never as an opened share sheet.
|
||
|
|
/// </summary>
|
||
|
|
UNKNOWN,
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The operating system opened its share sheet for the file.
|
||
|
|
/// </summary>
|
||
|
|
OPENED,
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// The share sheet could not be opened, or the request was invalid.
|
||
|
|
/// </summary>
|
||
|
|
FAILED,
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Windows accepted the share request, but its share sheet never asked for the file. Windows
|
||
|
|
/// reports no error then, and the share sheet simply does not appear.
|
||
|
|
/// </summary>
|
||
|
|
UNRESPONSIVE,
|
||
|
|
}
|