a779aab9f0e4bdc7cf0a7a580479e5d5317250f5
[platform/core/csapi/tizenfx.git] / src / Tizen.Network.Nfc / Tizen.Network.Nfc / NfcCallbackData.cs
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 using System;
18 using System.Collections.Generic;
19
20 namespace Tizen.Network.Nfc
21 {
22     /// <summary>
23     /// Structure containing the information of Tag data.
24     /// </summary>
25     public class NfcTagInformation
26     {
27         internal NfcTagInformation()
28         {
29
30         }
31         /// <summary>
32         /// Key value.
33         /// </summary>
34         public string Key;
35         /// <summary>
36         /// Information value.
37         /// </summary>
38         public byte[] InformationValue;
39     }
40
41     /// <summary>
42     /// Structure containing the information of Secure element Aid(Application Identifier).
43     /// </summary>
44     public class NfcRegisteredAidInformation
45     {
46         internal NfcRegisteredAidInformation()
47         {
48
49         }
50         /// <summary>
51         /// Secure Element Type value.
52         /// </summary>
53         public NfcSecureElementType SeType;
54         /// <summary>
55         /// Aid value.
56         /// </summary>
57         public string Aid;
58         /// <summary>
59         /// Read-only value.
60         /// </summary>
61         public bool ReadOnly;
62     }
63 }