get_sim_slot_paths


Description:

[ CCode ( array_length = false , array_null_terminated = true ) ]
[ Version ( since = "1.16" ) ]
public unowned string[] get_sim_slot_paths ()

Gets the DBus paths of the Sim objects available in the different SIM slots handled in this Modem.

If a given SIM slot at a given index doesn't have a SIM card available, an empty object path will be given. This list includes the currently active SIM object path.

Warning:

The returned value is only valid until the property changes so it is only safe to use this function on the thread where this was constructed. Use dup_sim_slot_paths if on another thread.

Parameters:

this

A Modem.

Returns:

The DBus paths of the Sim objects handled in this Modem, or null if none available. Do not free the returned value, it belongs to this .




2022 vala-language.org