Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
UTILS::DISCS::DiscInfo Struct Reference

Abstracts the info the app knows about a disc (type, name, serial) More...

#include <DiscsUtils.h>

Public Member Functions

bool empty ()
 Check if the info is empty (e.g. after probing)
 
void clear ()
 Clears all the DiscInfo members.
 

Public Attributes

DiscType type {DiscType::UNKNOWN}
 The disc type,.
 
std::string serial
 The disc serial number.
 
std::string name
 The disc label (equivalent to the mount point label)
 

Detailed Description

Abstracts the info the app knows about a disc (type, name, serial)

Member Function Documentation

◆ clear()

void UTILS::DISCS::DiscInfo::clear ( )
inline

Clears all the DiscInfo members.

◆ empty()

bool UTILS::DISCS::DiscInfo::empty ( )
inline

Check if the info is empty (e.g. after probing)

Returns
true if the info is empty, false otherwise

Member Data Documentation

◆ name

std::string UTILS::DISCS::DiscInfo::name

The disc label (equivalent to the mount point label)

◆ serial

std::string UTILS::DISCS::DiscInfo::serial

The disc serial number.

◆ type

DiscType UTILS::DISCS::DiscInfo::type {DiscType::UNKNOWN}

The disc type,.

See also
DiscType

The documentation for this struct was generated from the following file: