<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Unable to set DataCollectionLevel in Real User Monitoring</title>
    <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123450#M4973</link>
    <description>&lt;P&gt;I am trying to turn off the data collection in Xamarin Forms App as shown below&lt;/P&gt;&lt;PRE&gt;IDynatrace dynatrace = DependencyService.Get&amp;lt;IDynatrace&amp;gt;();&lt;BR /&gt;dynatrace?.SetDataCollectionLevel(DataCollectionLevel.OFF);&lt;/PRE&gt;&lt;P&gt;The above statements throws an InvalidCastException. &lt;/P&gt;&lt;P&gt;I came across a support documentation which mentions that this method can only be used, when the agent is started with the user optin feature by method &lt;A href="https://www.dynatrace.com/support/doc/javadoc/oneagent/android/com/dynatrace/android/agent/conf/ConfigurationBuilder.html#withUserOptIn-boolean-"&gt;&lt;CODE&gt;ConfigurationBuilder.withUserOptIn(boolean)&lt;/CODE&gt;&lt;/A&gt; or property &lt;A href="https://www.dynatrace.com/support/doc/javadoc/oneagent/android/com/dynatrace/android/agent/conf/ConfigurationBuilder.html#PROP_USER_OPT_IN"&gt;&lt;CODE&gt;ConfigurationBuilder.PROP_USER_OPT_IN&lt;/CODE&gt;&lt;/A&gt;.  I am unable to optin using the ConfigurationBuilder since it is not available. Looks like ConfigurationBuilder is not available in the Dynatrace.OneAgent.Xamarin package.&lt;/P&gt;&lt;P&gt;Any support to solve the issue is highly appreciated. TIA&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/16273/view.html" nodeid="16273"&gt;@Matthias H.&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 23 Sep 2019 06:21:50 GMT</pubDate>
    <dc:creator>subramaniam_b</dc:creator>
    <dc:date>2019-09-23T06:21:50Z</dc:date>
    <item>
      <title>Unable to set DataCollectionLevel</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123450#M4973</link>
      <description>&lt;P&gt;I am trying to turn off the data collection in Xamarin Forms App as shown below&lt;/P&gt;&lt;PRE&gt;IDynatrace dynatrace = DependencyService.Get&amp;lt;IDynatrace&amp;gt;();&lt;BR /&gt;dynatrace?.SetDataCollectionLevel(DataCollectionLevel.OFF);&lt;/PRE&gt;&lt;P&gt;The above statements throws an InvalidCastException. &lt;/P&gt;&lt;P&gt;I came across a support documentation which mentions that this method can only be used, when the agent is started with the user optin feature by method &lt;A href="https://www.dynatrace.com/support/doc/javadoc/oneagent/android/com/dynatrace/android/agent/conf/ConfigurationBuilder.html#withUserOptIn-boolean-"&gt;&lt;CODE&gt;ConfigurationBuilder.withUserOptIn(boolean)&lt;/CODE&gt;&lt;/A&gt; or property &lt;A href="https://www.dynatrace.com/support/doc/javadoc/oneagent/android/com/dynatrace/android/agent/conf/ConfigurationBuilder.html#PROP_USER_OPT_IN"&gt;&lt;CODE&gt;ConfigurationBuilder.PROP_USER_OPT_IN&lt;/CODE&gt;&lt;/A&gt;.  I am unable to optin using the ConfigurationBuilder since it is not available. Looks like ConfigurationBuilder is not available in the Dynatrace.OneAgent.Xamarin package.&lt;/P&gt;&lt;P&gt;Any support to solve the issue is highly appreciated. TIA&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://answers.dynatrace.com/users/16273/view.html" nodeid="16273"&gt;@Matthias H.&lt;/A&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 06:21:50 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123450#M4973</guid>
      <dc:creator>subramaniam_b</dc:creator>
      <dc:date>2019-09-23T06:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set DataCollectionLevel</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123451#M4974</link>
      <description>&lt;P&gt;I will take a look and get back to you. &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 06:31:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123451#M4974</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2019-09-23T06:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set DataCollectionLevel</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123452#M4975</link>
      <description>&lt;P&gt;I found the problem and I have already a fix for it. Can you give me a mail address so we can shortly test the fix before releasing it. Thanks.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 11:55:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123452#M4975</guid>
      <dc:creator>matthias_hochri</dc:creator>
      <dc:date>2019-09-23T11:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to set DataCollectionLevel</title>
      <link>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123453#M4976</link>
      <description>&lt;P&gt;Thanks for the quick fix.&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Sep 2019 12:48:35 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Real-User-Monitoring/Unable-to-set-DataCollectionLevel/m-p/123453#M4976</guid>
      <dc:creator>subramaniam_b</dc:creator>
      <dc:date>2019-09-23T12:48:35Z</dc:date>
    </item>
  </channel>
</rss>

