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
    object
    BulkData
    Implements
    System.IDisposable

    Constructors

    View Source

    BulkData()

    Initializes the BulkData class.

    Declaration
    public BulkData()
    Exceptions
    Type Condition
    System.InvalidOperationException

    Thrown in case of any internal error.

    Methods

    View Source

    Add(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.

    View Source

    Dispose()

    Releases all the resources used by the BulkData class.

    Declaration
    public void Dispose()
    View Source

    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.

    View Source

    ~BulkData()

    Destructor of the BulkData class.

    Declaration
    protected ~BulkData()
    View Source

    GetCount()

    Gets the current data count.

    Declaration
    public int GetCount()
    Returns
    Type Description
    int
    View Source

    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
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX