Gck.Slot.prototype.get_token_info

function get_token_info(): Gck.TokenInfo {
    // Gjs wrapper for gck_slot_get_token_info()
}
  

Get the token information for this slot.

Returns

the token information; when done, use Gck.TokenInfo.prototype.free to release it