Skip to main content

screen_size

Function screen_size 

Source
pub fn screen_size(
    ctx: &Ctx,
    set: Option<(u16, u16)>,
    commit: bool,
    index: u16,
    wait: u64,
    p: &mut dyn Progress,
) -> Result<(u16, u16)>
Expand description

Show the record, and optionally set the geometry it carries. Returns the geometry the card holds when the command finishes.

ยงErrors

Fails if the card does not answer or the write is refused.