SdCardInfo

Since: BlackBerry 10.0.0

#include <bb/device/SdCardInfo>

To link against this class, add the following line to your .pro file: LIBS += -lbbdevice

A class that provides information about the state of the SD card.


Overview

Public Functions Index

Signals Index

voidactivityChanged (bb::device::SdCardActivity::Type newActivity)
voidstateChanged (bb::device::SdCardState::Type newState)

Properties

bb::device::SdCardActivity::Type activity[read-only]

Whether the SD card is performing an operation or not.

Since:

BlackBerry 10.0.0

bb::device::SdCardState::Type state[read-only]

The state of the SD card.

Since:

BlackBerry 10.0.0

Public Functions

SdCardInfo (

Constructs an SdCardInfo object.

Constructs an SdCardInfo object that can be used to retrieve information about the SD card.

Parameters
parent

If not 0, the supplied parent will be responsible for deleting this instance.

Since:

BlackBerry 10.0.0

virtual~SdCardInfo ()

Destructor.

Since:

BlackBerry 10.0.0

bb::device::SdCardActivity::Type activity ()

Whether the SD card is currently performing an activity or not.

Return:

Returns whether or not the SD card is currently busy. See bb::device::SdCardActivity for a list of possible states.

Since:

BlackBerry 10.0.0

bb::device::SdCardState::Type state ()

The state of the SD card.

Return:

The current state of the SD card. See bb::device::SdCardState for the list of possible states.

Since:

BlackBerry 10.0.0

Signals

void activityChanged (

Indicates that the activity state of the SD card has changed.

Parameters
newActivity

The new activity state of the SD card.

Since:

BlackBerry 10.0.0

void stateChanged (

Indicates that the state of the SD card has changed.

Parameters
newState

The new state of the SD card.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus