Drive.getIdentifier

string getIdentifier(string kind)

Gets the identifier of the given kind for drive. The only identifier currently available is [gio.types.DRIVE_IDENTIFIER_KIND_UNIX_DEVICE].

Parameters

kindthe kind of identifier to return

Returns

a newly allocated string containing the

requested identifier, or null if the #GDrive doesn't have this kind of identifier.