{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isTagSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+ bool isNfcSupported = false;
+ bool isTagSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
if (!isNfcSupported || !isTagSupported)
{
}
set
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isTagSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+ bool isNfcSupported = false;
+ bool isTagSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
if (!isNfcSupported || !isTagSupported)
{
{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isCeSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+ bool isNfcSupported = false;
+ bool isCeSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
if (!isNfcSupported || !isCeSupported)
{
}
set
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isCeSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+ bool isNfcSupported = false;
+ bool isCeSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
if (!isNfcSupported || !isCeSupported)
{
{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
}
set
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
{
get
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
/// <since_tizen> 3 </since_tizen>
static public NfcTagAdapter GetTagAdapter()
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isTagSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
+ bool isNfcSupported = false;
+ bool isTagSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.tag", out isTagSupported);
if (!isNfcSupported || !isTagSupported)
{
/// <since_tizen> 3 </since_tizen>
static public NfcP2pAdapter GetP2pAdapter()
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isP2pSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.p2p", out isP2pSupported);
+ bool isNfcSupported = false;
+ bool isP2pSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.p2p", out isP2pSupported);
if (!isNfcSupported || !isP2pSupported)
{
/// <since_tizen> 3 </since_tizen>
static public NfcCardEmulationAdapter GetCardEmulationAdapter()
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
- bool isCeSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
+ bool isNfcSupported = false;
+ bool isCeSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc.cardemulation", out isCeSupported);
if (!isNfcSupported || !isCeSupported)
{
/// <privilege>http://tizen.org/privilege/nfc.admin</privilege>
static public Task SetActivationAsync(bool activation)
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
{
add
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
}
remove
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
{
add
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{
}
remove
{
- bool isNfcSupported = SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
+ bool isNfcSupported = false;
+
+ SystemInfo.TryGetValue("http://tizen.org/feature/network.nfc", out isNfcSupported);
if (!isNfcSupported)
{