Drive.getIdentifier

Gets the identifier of the given kind for drive. The only identifier currently available is G_DRIVE_IDENTIFIER_KIND_UNIX_DEVICE.

interface Drive
string
getIdentifier
(
string kind
)

Parameters

kind string

the kind of identifier to return

Return Value

Type: string

a newly allocated string containing the requested identifier, or null if the #GDrive doesn't have this kind of identifier.