Sophie

Sophie

distrib > Mageia > 7 > aarch64 > by-pkgid > 814a2b4c48f3ef6444b2ff5bf854d05a > files > 93

qtconnectivity5-doc-5.12.6-1.mga7.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qlowenergyadvertisingparameters.cpp -->
  <title>AddressInfo Class | Qt Bluetooth 5.12.6</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td >Qt 5.12</td><td ><a href="qtbluetooth-index.html">Qt Bluetooth</a></td><td ><a href="qtbluetooth-module.html">C++ Classes</a></td><td >AddressInfo</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right"><a href="qtbluetooth-index.html">Qt 5.12.6 Reference Documentation</a></td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#public-variables">Public Variables</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">AddressInfo Class</h1>
<span class="small-subtitle">(<a href="qlowenergyadvertisingparameters-addressinfo.html">QLowEnergyAdvertisingParameters::AddressInfo</a>)<br/></span>
<!-- $$$AddressInfo-brief -->
<p>The <a href="qlowenergyadvertisingparameters-addressinfo.html">QLowEnergyAdvertisingParameters::AddressInfo</a> defines the elements of a white list. <a href="#details">More...</a></p>
<!-- @@@AddressInfo -->
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign">   <span class="preprocessor">#include &lt;AddressInfo&gt;</span>
</td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += bluetooth</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign">  Qt 5.7</td></tr></table></div><ul>
<li><a href="qlowenergyadvertisingparameters-addressinfo-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h2 id="public-functions">Public Functions</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlowenergyadvertisingparameters-addressinfo.html#AddressInfo">AddressInfo</a></b>(const QBluetoothAddress &amp;<i>addr</i>, QLowEnergyController::RemoteAddressType <i>type</i>)</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qlowenergyadvertisingparameters-addressinfo.html#AddressInfo-1">AddressInfo</a></b>()</td></tr>
</table></div>
<a name="public-variables"></a>
<h2 id="public-variables">Public Variables</h2>
<div class="table"><table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QBluetoothAddress </td><td class="memItemRight bottomAlign"><b><a href="qlowenergyadvertisingparameters-addressinfo.html#address-var">address</a></b></td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QLowEnergyController::RemoteAddressType </td><td class="memItemRight bottomAlign"><b><a href="qlowenergyadvertisingparameters-addressinfo.html#type-var">type</a></b></td></tr>
</table></div>
<a name="details"></a>
<!-- $$$AddressInfo-description -->
<div class="descr">
<h2 id="details">Detailed Description</h2>
<p>The <a href="qlowenergyadvertisingparameters-addressinfo.html">QLowEnergyAdvertisingParameters::AddressInfo</a> defines the elements of a white list.</p>
<p>A list of <a href="qlowenergyadvertisingparameters-addressinfo.html">QLowEnergyAdvertisingParameters::AddressInfo</a> instances is passed to <a href="qlowenergyadvertisingparameters.html#setWhiteList">QLowEnergyAdvertisingParameters::setWhiteList</a>(). White lists are used to restrict the devices which have the permission to interact with the peripheral. The permitted type of interaction is defined by <a href="qlowenergyadvertisingparameters.html#FilterPolicy-enum">QLowEnergyAdvertisingParameters::FilterPolicy</a>.</p>
</div>
<p><b>See also </b><a href="qlowenergyadvertisingparameters.html#whiteList">QLowEnergyAdvertisingParameters::whiteList</a>().</p>
<!-- @@@AddressInfo -->
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$AddressInfo[overload1]$$$AddressInfoconstQBluetoothAddress&QLowEnergyController::RemoteAddressType -->
<h3 class="fn" id="AddressInfo"><a name="AddressInfo"></a>AddressInfo::<span class="name">AddressInfo</span>(const <span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> &amp;<i>addr</i>, <span class="type"><a href="qlowenergycontroller.html#RemoteAddressType-enum">QLowEnergyController::RemoteAddressType</a></span> <i>type</i>)</h3>
<p>Constructs a new <a href="qlowenergyadvertisingparameters-addressinfo.html">AddressInfo</a> instance. <i>addr</i> represents the Bluetooth address of the remote device and <i>type</i> the nature of the address.</p>
<!-- @@@AddressInfo -->
<!-- $$$AddressInfo$$$AddressInfo -->
<h3 class="fn" id="AddressInfo-1"><a name="AddressInfo-1"></a>AddressInfo::<span class="name">AddressInfo</span>()</h3>
<p>Constructs a default constructed <a href="qlowenergyadvertisingparameters-addressinfo.html">AddressInfo</a> instance.</p>
<p>By default the <a href="qlowenergyadvertisingparameters-addressinfo.html#type-var">AddressInfo::type</a> member is set to <a href="qlowenergycontroller.html#RemoteAddressType-enum">QLowEnergyController::PublicAddress</a> and the <a href="qlowenergyadvertisingparameters-addressinfo.html#address-var">AddressInfo::address</a> member has a null address.</p>
<!-- @@@AddressInfo -->
</div>
<div class="vars">
<h2>Member Variable Documentation</h2>
<!-- $$$address -->
<h3 class="fn" id="address-var"><a name="address-var"></a><span class="type"><a href="qbluetoothaddress.html">QBluetoothAddress</a></span> AddressInfo::<span class="name">address</span></h3>
<p>This is the Bluetooth address of a remote device.</p>
<!-- @@@address -->
<!-- $$$type -->
<h3 class="fn" id="type-var"><a name="type-var"></a><span class="type"><a href="qlowenergycontroller.html#RemoteAddressType-enum">QLowEnergyController::RemoteAddressType</a></span> AddressInfo::<span class="name">type</span></h3>
<p>The type of the address (public or private). The <a href="qlowenergyadvertisingparameters-addressinfo.html">AddressInfo</a> default constructor initialises this value to <a href="qlowenergycontroller.html#RemoteAddressType-enum">QLowEnergyController::PublicAddress</a>.</p>
<!-- @@@type -->
</div>
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2019 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>