예제 #1
0
    'linphone_nat_policy_get_stun_server_addrinfo',
    'linphone_proxy_config_get_privacy',  # missing LinphonePrivacyMask
    'linphone_proxy_config_normalize_number',  # to be handwritten because of result via arguments
    'linphone_proxy_config_set_file_transfer_server',  # defined but not implemented in linphone core
    'linphone_proxy_config_set_privacy',  # missing LinphonePrivacyMask
    'linphone_tunnel_get_http_proxy',  # to be handwritten because of double pointer indirection
    'linphone_vcard_get_belcard',  # specific to C++
    'linphone_xml_rpc_request_new_with_args',  # to be handwritten because of va_list
]
hand_written_functions = [
    HandWrittenClassMethod(
        'Buffer', 'new_from_data', 'linphone_buffer_new_from_data',
        "Create a new LinphoneBuffer object from existing data.\n\n:param data: The initial data to store in the LinphoneBuffer.\n:type data: ByteArray\n:returns: A new LinphoneBuffer object.\n:rtype: linphone.Buffer"
    ),
    HandWrittenProperty('Buffer', 'content', 'linphone_buffer_get_content',
                        'linphone_buffer_set_content',
                        "[ByteArray] Set the content of the data buffer."),
    HandWrittenProperty('Content', 'buffer', 'linphone_content_get_buffer',
                        'linphone_content_set_buffer',
                        "[ByteArray] Set the content data buffer."),
    HandWrittenProperty(
        'Call', 'native_video_window_id',
        'linphone_call_get_native_video_window_id',
        'linphone_call_set_native_video_window_id',
        "[int] Set the native video window id where the video is to be displayed."
    ),
    HandWrittenProperty(
        'Core', 'native_preview_window_id',
        'linphone_core_get_native_preview_window_id',
        'linphone_core_set_native_preview_window_id',
        "[int] Set the native window id where the preview video (local camera) is to be displayed. This has to be used in conjonction with :py:meth:`linphone.Core.use_preview_window` . MacOS, Linux, Windows: if not set or zero the core will create its own window, unless the special id -1 is given."
예제 #2
0
    'linphone_proxy_config_set_privacy',  # missing LinphonePrivacyMask
    'linphone_tunnel_get_http_proxy',  # to be handwritten because of double pointer indirection
    'linphone_xml_rpc_request_new_with_args',  # to be handwritten because of va_list
    'lp_config_for_each_entry',  # to be handwritten because of callback
    'lp_config_for_each_section',  # to be handwritten because of callback
    'lp_config_get_range',  # to be handwritten because of result via arguments
    'lp_config_load_dict_to_section',  # missing LinphoneDictionary
    'lp_config_section_to_dict'  # missing LinphoneDictionary
]
hand_written_functions = [
    HandWrittenClassMethod(
        'Buffer', 'new_from_data', 'linphone_buffer_new_from_data',
        "Create a new LinphoneBuffer object from existing data.\n\n:param data: The initial data to store in the LinphoneBuffer.\n:type data: ByteArray\n:returns: A new LinphoneBuffer object.\n:rtype: linphone.Buffer"
    ),
    HandWrittenProperty('Buffer', 'content', 'linphone_buffer_get_content',
                        'linphone_buffer_set_content',
                        "[ByteArray] Set the content of the data buffer."),
    HandWrittenProperty('Content', 'buffer', 'linphone_content_get_buffer',
                        'linphone_content_set_buffer',
                        "[ByteArray] Set the content data buffer."),
    HandWrittenProperty(
        'Core', 'sip_transports', 'linphone_core_get_sip_transports',
        'linphone_core_set_sip_transports',
        "[:py:class:`linphone.SipTransports`] Sets the ports to be used for each transport. A zero value port for a given transport means the transport is not used. A value of LC_SIP_TRANSPORT_RANDOM (-1) means the port is to be chosen randomly by the system."
    ),
    HandWrittenProperty(
        'Core', 'sip_transports_used', 'linphone_core_get_sip_transports_used',
        None,
        "[:py:class:`linphone.SipTransports`] Retrieves the real port number assigned for each sip transport (udp, tcp, tls). A zero value means that the transport is not activated. If LC_SIP_TRANSPORT_RANDOM was passed to :py:attr:`linphone.Core.sip_transports`, the random port choosed by the system is returned."
    ),
    HandWrittenProperty('Core', 'sound_devices',