How to use the pyatv.mrp.protobuf.ProtocolMessage_pb2.ProtocolMessage.RegisterExtension function in pyatv

To help you get started, we’ve selected a few pyatv examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github postlund / pyatv / pyatv / mrp / protobuf / NotificationMessage_pb2.py View on Github external
serialized_end=151,
)

DESCRIPTOR.message_types_by_name['NotificationMessage'] = _NOTIFICATIONMESSAGE
DESCRIPTOR.extensions_by_name['notificationMessage'] = notificationMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

NotificationMessage = _reflection.GeneratedProtocolMessageType('NotificationMessage', (_message.Message,), {
  'DESCRIPTOR' : _NOTIFICATIONMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.NotificationMessage_pb2'
  # @@protoc_insertion_point(class_scope:NotificationMessage)
  })
_sym_db.RegisterMessage(NotificationMessage)

notificationMessage.message_type = _NOTIFICATIONMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(notificationMessage)
github postlund / pyatv / pyatv / mrp / protobuf / RegisterVoiceInputDeviceMessage_pb2.py View on Github external
)

_REGISTERVOICEINPUTDEVICEMESSAGE.fields_by_name['deviceDescriptor'].message_type = pyatv_dot_mrp_dot_protobuf_dot_VoiceInputDeviceDescriptorMessage__pb2._VOICEINPUTDEVICEDESCRIPTOR
DESCRIPTOR.message_types_by_name['RegisterVoiceInputDeviceMessage'] = _REGISTERVOICEINPUTDEVICEMESSAGE
DESCRIPTOR.extensions_by_name['registerVoiceInputDeviceMessage'] = registerVoiceInputDeviceMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

RegisterVoiceInputDeviceMessage = _reflection.GeneratedProtocolMessageType('RegisterVoiceInputDeviceMessage', (_message.Message,), {
  'DESCRIPTOR' : _REGISTERVOICEINPUTDEVICEMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.RegisterVoiceInputDeviceMessage_pb2'
  # @@protoc_insertion_point(class_scope:RegisterVoiceInputDeviceMessage)
  })
_sym_db.RegisterMessage(RegisterVoiceInputDeviceMessage)

registerVoiceInputDeviceMessage.message_type = _REGISTERVOICEINPUTDEVICEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(registerVoiceInputDeviceMessage)
github postlund / pyatv / pyatv / mrp / protobuf / WakeDeviceMessage_pb2.py View on Github external
serialized_end=107,
)

DESCRIPTOR.message_types_by_name['WakeDeviceMessage'] = _WAKEDEVICEMESSAGE
DESCRIPTOR.extensions_by_name['wakeDeviceMessage'] = wakeDeviceMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

WakeDeviceMessage = _reflection.GeneratedProtocolMessageType('WakeDeviceMessage', (_message.Message,), {
  'DESCRIPTOR' : _WAKEDEVICEMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.WakeDeviceMessage_pb2'
  # @@protoc_insertion_point(class_scope:WakeDeviceMessage)
  })
_sym_db.RegisterMessage(WakeDeviceMessage)

wakeDeviceMessage.message_type = _WAKEDEVICEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(wakeDeviceMessage)
github postlund / pyatv / pyatv / mrp / protobuf / RegisterHIDDeviceMessage_pb2.py View on Github external
)

_REGISTERHIDDEVICEMESSAGE.fields_by_name['deviceDescriptor'].message_type = pyatv_dot_mrp_dot_protobuf_dot_VirtualTouchDeviceDescriptorMessage__pb2._VIRTUALTOUCHDEVICEDESCRIPTOR
DESCRIPTOR.message_types_by_name['RegisterHIDDeviceMessage'] = _REGISTERHIDDEVICEMESSAGE
DESCRIPTOR.extensions_by_name['registerHIDDeviceMessage'] = registerHIDDeviceMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

RegisterHIDDeviceMessage = _reflection.GeneratedProtocolMessageType('RegisterHIDDeviceMessage', (_message.Message,), {
  'DESCRIPTOR' : _REGISTERHIDDEVICEMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.RegisterHIDDeviceMessage_pb2'
  # @@protoc_insertion_point(class_scope:RegisterHIDDeviceMessage)
  })
_sym_db.RegisterMessage(RegisterHIDDeviceMessage)

registerHIDDeviceMessage.message_type = _REGISTERHIDDEVICEMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(registerHIDDeviceMessage)
github postlund / pyatv / pyatv / mrp / protobuf / DeviceInfoMessage_pb2.py View on Github external
serialized_end=946,
)

DESCRIPTOR.message_types_by_name['DeviceInfoMessage'] = _DEVICEINFOMESSAGE
DESCRIPTOR.extensions_by_name['deviceInfoMessage'] = deviceInfoMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DeviceInfoMessage = _reflection.GeneratedProtocolMessageType('DeviceInfoMessage', (_message.Message,), {
  'DESCRIPTOR' : _DEVICEINFOMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.DeviceInfoMessage_pb2'
  # @@protoc_insertion_point(class_scope:DeviceInfoMessage)
  })
_sym_db.RegisterMessage(DeviceInfoMessage)

deviceInfoMessage.message_type = _DEVICEINFOMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(deviceInfoMessage)
github postlund / pyatv / pyatv / mrp / protobuf / TextInputMessage_pb2.py View on Github external
_TEXTINPUTMESSAGE.fields_by_name['actionType'].enum_type = _TEXTINPUTMESSAGE_ACTIONTYPE
_TEXTINPUTMESSAGE_ACTIONTYPE.containing_type = _TEXTINPUTMESSAGE
DESCRIPTOR.message_types_by_name['TextInputMessage'] = _TEXTINPUTMESSAGE
DESCRIPTOR.extensions_by_name['textInputMessage'] = textInputMessage
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

TextInputMessage = _reflection.GeneratedProtocolMessageType('TextInputMessage', (_message.Message,), {
  'DESCRIPTOR' : _TEXTINPUTMESSAGE,
  '__module__' : 'pyatv.mrp.protobuf.TextInputMessage_pb2'
  # @@protoc_insertion_point(class_scope:TextInputMessage)
  })
_sym_db.RegisterMessage(TextInputMessage)

textInputMessage.message_type = _TEXTINPUTMESSAGE
pyatv_dot_mrp_dot_protobuf_dot_ProtocolMessage__pb2.ProtocolMessage.RegisterExtension(textInputMessage)