Class BulkData
Definition
- Namespace:
- Tizen.Applications.DataControl
- Assembly:
- Tizen.Applications.DataControl.dll
Represents the BulkData class for the DataControl bulk request.
public class BulkData : IDisposable
- Inheritance
-
objectBulkData
- Implements
-
System.IDisposable
Constructors
View SourceBulkData()
Initializes the BulkData class.
Declaration
public BulkData()
Exceptions
| Type | Condition |
|---|---|
| System.InvalidOperationException | Thrown in case of any internal error. |
Methods
View SourceAdd(Bundle)
Adds the bulk data.
Declaration
public void Add(Bundle data)
Parameters
| Type | Name | Description |
|---|---|---|
| Bundle | data | Bulk data |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
Dispose()
Releases all the resources used by the BulkData class.
Declaration
public void Dispose()
Dispose(bool)
Releases any unmanaged resources used by this object. Can also dispose any other disposable objects.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | If true, disposes any disposable objects. If false, does not dispose disposable objects. |
~BulkData()
Destructor of the BulkData class.
Declaration
protected ~BulkData()
GetCount()
Gets the current data count.
Declaration
public int GetCount()
Returns
| Type | Description |
|---|---|
| int |
GetData(int)
Returns the data at the given zero-based data index.
Declaration
public Bundle GetData(int index)
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | The target data index. |
Returns
| Type | Description |
|---|---|
| Bundle |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | Thrown in case of an invalid parameter. |
Implements
System.IDisposable