blob: 6d0b5fa38ce5187f2830f666c8ce7f6c822d8a8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
// Copyright 2016 by Samsung Electronics, Inc.,
//
// This software is the confidential and proprietary information
// of Samsung Electronics, Inc. ("Confidential Information"). You
// shall not disclose such Confidential Information and shall use
// it only in accordance with the terms of the license agreement
// you entered into with Samsung.
using System;
namespace Tizen.Applications
{
/// <summary>
/// Class for event arguments of the widget lifecycle.
/// </summary>
public class WidgetLifecycleEventArgs : EventArgs
{
/// <summary>
/// Enumeration for event type.
/// </summary>
public enum EventType
{
/// <summary>
/// The widget is created.
/// </summary>
Created,
/// <summary>
/// The widget is destroyed.
/// </summary>
Destroyed,
/// <summary>
/// The widget is paused.
/// </summary>
Paused,
/// <summary>
/// The widget is resumed.
/// </summary>
Resumed
}
/// <summary>
/// Widget ID.
/// </summary>
public string WidgetId { get; internal set; }
/// <summary>
/// Widget instnace ID.
/// </summary>
public string InstanceId { get; internal set; }
/// <summary>
/// Event type.
/// </summary>
public EventType Type { get; internal set; }
}
}
|