- public async bool change_pin (string old_pin, string new_pin, Cancellable? cancellable) throws Error
Asynchronously changes the PIN code in the SIM card.
- public bool change_pin_sync (string old_pin, string new_pin, Cancellable? cancellable = null) throws Error
Synchronously changes the PIN code in the SIM card.
- public async bool disable_pin (string pin, Cancellable? cancellable) throws Error
Asynchronously disables requesting the PIN code in the SIM card.
- public bool disable_pin_sync (string pin, Cancellable? cancellable = null) throws Error
Synchronously disables requesting the PIN code in the SIM card.
- public string dup_eid ()
Gets a copy of the Embedded UICC ID (EID) of the
Sim object.
- public string[] dup_emergency_numbers ()
Gets a copy of the list of emergency call numbers programmed in the
SIM card.
- public uint8[] dup_gid1 ()
Gets the Group Identifier Level 1 of the Sim
object.
- public uint8[] dup_gid2 ()
Gets the Group Identifier Level 2 of the Sim
object.
- public string dup_identifier ()
Gets a copy of the unique SIM identifier of the
Sim object.
- public string dup_imsi ()
Gets a copy of the International Mobile Subscriber Identity (IMSI) of
the Sim object.
- public string dup_operator_identifier ()
Gets a copy of the Operator Identifier of the Sim
object.
- public string dup_operator_name ()
Gets a copy of the Operator Name of the Sim
object.
- public string dup_path ()
Gets a copy of the DBus path of the Sim
object.
- public async bool enable_pin (string pin, Cancellable? cancellable) throws Error
Asynchronously enables requesting the PIN code in the SIM card.
- public bool enable_pin_sync (string pin, Cancellable? cancellable = null) throws Error
Synchronously enables requesting the PIN code in the SIM card.
- public bool get_active ()
Checks whether the Sim is currently active.
- public unowned string get_eid ()
Gets the Embedded UICC ID (or EID) of the Sim
object.
- public unowned string[] get_emergency_numbers ()
Gets the list of emergency call numbers programmed in the SIM card.
- public SimEsimStatus get_esim_status ()
Gets the eSIM status.
- public unowned uint8[] get_gid1 ()
Gets the Group Identifier Level 1 of the Sim
object.
- public unowned uint8[] get_gid2 ()
Gets the Group Identifier Level 2 of the Sim
object.
- public unowned string get_identifier ()
Gets the unique SIM identifier of the Sim
object.
- public unowned string get_imsi ()
Gets the International Mobile Subscriber Identity (IMSI) of the
Sim object.
- public unowned string get_operator_identifier ()
Gets the Operator Identifier of the Sim
object.
- public unowned string get_operator_name ()
Gets the Operator Name of the Sim object.
- public unowned string get_path ()
Gets the DBus path of the Sim object.
- public List<SimPreferredNetwork> get_preferred_networks ()
- public SimRemovability get_removability ()
Gets whether the SIM is removable or not.
- public SimType get_sim_type ()
Gets the SIM type.
- public async bool send_pin (string pin, Cancellable? cancellable) throws Error
Asynchronously sends the PIN code to the SIM card.
- public bool send_pin_sync (string pin, Cancellable? cancellable = null) throws Error
Synchronously sends the PIN to the SIM card.
- public async bool send_puk (string puk, string pin, Cancellable? cancellable) throws Error
Asynchronously sends the PUK code to the SIM card.
- public bool send_puk_sync (string puk, string pin, Cancellable? cancellable = null) throws Error
Synchronously sends the PUK to the SIM card.
- public async bool set_preferred_networks (List<SimPreferredNetwork> preferred_networks, Cancellable? cancellable) throws Error
Asynchronously sets the preferred network list of this
Sim.
- public bool set_preferred_networks_sync (List<SimPreferredNetwork> preferred_networks, Cancellable? cancellable = null) throws Error
Synchronously sets the preferred network list of this
Sim.