Mbim.Uuid¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
a |
r/w |
||
b |
r/w |
||
c |
r/w |
||
d |
r/w |
||
e |
r/w |
Methods¶
class |
|
class |
|
class |
|
|
|
|
Details¶
- class Mbim.Uuid¶
A UUID as defined in MBIM.
New in version 1.0.
- classmethod from_context_type(context_type)¶
- Parameters:
context_type (
Mbim.ContextType
) – aMbim.ContextType
.- Returns:
a
Mbim.Uuid
.- Return type:
Get the UUID corresponding to context_type.
New in version 1.0.
- classmethod from_printable(str, uuid)¶
- Parameters:
- Returns:
- Return type:
Fills in uuid from the printable representation give in str.
Only ccepts str written with dashes separating items, e.g.: a289cc33-bcbb-8b4f-b6b0-133ec2aae6df
New in version 1.8.
- classmethod from_service(service)¶
- Parameters:
service (
Mbim.Service
) – aMbim.Service
.- Returns:
a
Mbim.Uuid
.- Return type:
Get the UUID corresponding to service.
The service needs to be either a generic one (including
Mbim.Service.INVALID
) or a custom registered one.New in version 1.0.
- get_printable()¶
-
Get a string with the UUID.
New in version 1.0.
- to_context_type()¶
- Returns:
- Return type:
Get the context type corresponding to self.
New in version 1.0.
- to_service()¶
- Returns:
a
Mbim.Service
.- Return type:
Get the service corresponding to self.
New in version 1.0.