summaryrefslogtreecommitdiff
path: root/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs')
-rwxr-xr-xTizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs32
1 files changed, 16 insertions, 16 deletions
diff --git a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs
index 80d1574..1f74fcc 100755
--- a/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs
+++ b/Tizen.Network.Nfc/Tizen.Network.Nfc/NfcNdefMessage.cs
@@ -21,7 +21,7 @@ using System.Collections.Generic;
namespace Tizen.Network.Nfc
{
/// <summary>
- /// A class for Ndef Message information. It allows applications to use Ndef Message information.
+ /// A class for the NDEF Message information. It allows applications to use the NDEF Message information.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public class NfcNdefMessage : IDisposable
@@ -31,7 +31,7 @@ namespace Tizen.Network.Nfc
private List<NfcNdefRecord> _recordList = new List<NfcNdefRecord>();
/// <summary>
- /// The number of record in NDEF message.
+ /// The number of records in the NDEF message.
/// </summary>
/// <since_tizen> 3 </since_tizen>
public int RecordCount
@@ -49,11 +49,11 @@ namespace Tizen.Network.Nfc
}
/// <summary>
- /// Creates a object for the access point.
+ /// Creates an object for the access point.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- /// <exception cref="NotSupportedException">Thrown when Nfc is not supported.</exception>
- /// <exception cref="InvalidOperationException">Thrown when the method failed due to invalid operation.</exception>
+ /// <exception cref="NotSupportedException">Thrown when the NFC is not supported.</exception>
+ /// <exception cref="InvalidOperationException">Thrown when the method fails due to an invalid operation.</exception>
public NfcNdefMessage()
{
int ret = Interop.Nfc.NdefMessage.Create(out _messageHandle);
@@ -101,11 +101,11 @@ namespace Tizen.Network.Nfc
}
/// <summary>
- /// Appends a record into NDEF message.
+ /// Appends a record into the NDEF message.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- /// <returns>Whether appending the record succeeded.</returns>
- /// <param name="record">The NfcNdefRecord object that will be appended into NDEF message.</param>
+ /// <returns>Whether the record is appended successfully.</returns>
+ /// <param name="record">The NfcNdefRecord object that will be appended into the NDEF message.</param>
public bool AppendRecord(NfcNdefRecord record)
{
bool isSuccess = true;
@@ -125,12 +125,12 @@ namespace Tizen.Network.Nfc
}
/// <summary>
- /// Inserts a record at index into NDEF message.
+ /// Inserts a record at the index into the NDEF message.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- /// <returns>Whether insterting the record succeeded.</returns>
- /// <param name="index">The index of record ( starts from 0 ).</param>
- /// <param name="record">The NfcNdefRecord object that will be appended into NDEF message.</param>
+ /// <returns>Whether inserting the record succeeded.</returns>
+ /// <param name="index">The index of a record ( starts from 0 ).</param>
+ /// <param name="record">The NfcNdefRecord object that will be appended into the NDEF message.</param>
public bool InsertRecord(int index, NfcNdefRecord record)
{
bool isSuccess = true;
@@ -150,11 +150,11 @@ namespace Tizen.Network.Nfc
}
/// <summary>
- /// Inserts a record at index into NDEF message.
+ /// Removes a record at the index into the NDEF message.
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <returns>Whether removing the record succeeded.</returns>
- /// <param name="index">The index of record ( starts from 0 ).</param>
+ /// <param name="index">The index of a record ( starts from 0 ).</param>
public bool RemoveRecord(int index)
{
bool isSuccess = true;
@@ -170,11 +170,11 @@ namespace Tizen.Network.Nfc
}
/// <summary>
- /// Gets record by index.
+ /// Gets a record by the index.
/// </summary>
/// <since_tizen> 3 </since_tizen>
/// <returns>The NfcNdefRecord object.</returns>
- /// <param name="index">The index of record ( starts from 0 ).</param>
+ /// <param name="index">The index of a record ( starts from 0 ).</param>
public NfcNdefRecord GetRecord(int index)
{
IntPtr recordHandle;