We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

Documents from this version have been archived, and will not continue to be maintained. Please use the latest version.

HMS Core ReferencesDynamic Tag Managercom.huawei.hms.dtmPreviewActivity

PreviewActivity

1 Definition

This API is used to download an unreleased tag container version that has been configured on the web page.

2 Call Example

The following example shows how to register PreviewActivity in the AndroidManifest.xml file:

Collapse
Word wrap
Dark theme
Copy code
  1. <activity
  2.    android:name="com.huawei.hms.dtm.PreviewActivity"
  3.    android:exported="true"
  4.    android:noHistory="true">
  5.    <meta-data
  6.        android:name="hwc-theme"
  7.        android:value="androidhwext:style/Theme.Emui" />
  8.    <intent-filter>
  9.        <data android:scheme="dtm.configuration.${applicationId}" />
  10.        <action android:name="android.intent.action.VIEW" />
  11.        <category android:name="android.intent.category.DEFAULT" />
  12.        <category android:name="android.intent.category.BROWSABLE" />
  13.    </intent-filter>
  14. </activity>

3 Input Parameters

None.

4 Return Values

None.

This page may contain third-party content. For details, click here.
Search in References
Enter a keyword.