5 Interface org.ofono.CallBarring
6 Object path [variable prefix]/{modem0,modem1,...}
8 Methods dict GetProperties()
10 Contains the properties for this object.
12 Possible Errors: [service].Error.InProgress
13 [service].Error.NotImplemented
15 void ChangePassword(string old_password, string new_password)
17 Register new network password for the barring
20 Possible Errors: [service].Error.InProgress
21 [service].Error.InvalidFormat
22 [service].Error.Failed
24 void DisableAll(string password)
26 Disables all call barrings.
28 Possible Errors: [service].Error.InProgress
29 [service].Error.NotImplemented
30 [service].Error.InvalidArguments
31 [service].Error.InvalidFormat
32 [service].Error.Failed
34 void DisableAllIncoming(string password)
36 Disables barrings for incoming calls.
38 Possible Errors: [service].Error.InProgress
39 [service].Error.NotImplemented
40 [service].Error.InvalidArguments
41 [service].Error.InvalidFormat
42 [service].Error.Failed
44 void DisableAllOutgoing(string password)
46 Disables barrings for outgoing calls.
48 Possible Errors: [service].Error.InProgress
49 [service].Error.NotImplemented
50 [service].Error.InvalidArguments
51 [service].Error.InvalidFormat
52 [service].Error.Failed
54 void SetProperty(string property, variant value, string pin2)
56 Sets the given property value to that specified in
57 call parameter. For all properties, the password
58 (typically PIN2) must be provided.
60 Possible Errors: [service].Error.InProgress
61 [service].Error.NotImplemented
62 [service].Error.InvalidArguments
63 [service].Error.InvalidFormat
64 [service].Error.Failed
66 Signals PropertyChanged(string property, variant value)
68 Signal is emitted whenever a property has changed.
69 The new value is passed as the signal argument.
71 Properties string VoiceIncoming [readwrite]
73 Contains the value of the barrings for the incoming
74 voice calls. The possible values are:
75 - "always" bar all incoming voice calls
76 - "whenroaming" bar incoming voice calls when roaming,
77 - "disabled" if no barring is active
79 string VoiceOutgoing [readwrite]
81 Contains the value of the barrings for the outgoing
82 voice calls. The possible values are:
83 - "all" bar all outgoing calls
84 - "international" bar all outgoing international calls
85 - "internationalnothome" bar all outgoing
86 international calls except to home country
87 - "disabled" if no barring is active