Skip to content

콘텐츠 카드

Braze SDK의 콘텐츠 카드에 대해 배우고, 애플리케이션에서 사용할 수 있는 다양한 데이터 모델과 카드별 속성을 포함합니다.

Prerequisites

Before you can use Braze Content Cards, you’ll need to integrate the Braze Android SDK into your app. However, no additional setup is required.

Google fragments

In Android, the Content Cards feed is implemented as a fragment available in the Braze Android UI project. The ContentCardsFragment class will automatically refresh and display the contents of the Content Cards and log usage analytics. The cards that can appear in a user’s ContentCards are created on the Braze dashboard.

To learn how to add a fragment to an activity, see Google’s fragments documentation.

Card types and properties

The Content Cards data model is available in the Android SDK and offers the following unique Content Card types. Each type shares a base model, which allows them to inherit common properties from the base model, in addition to having their own unique properties. For full reference documentation, see com.braze.models.cards.

Base card model

The base card model provides foundational behavior for all cards.

Image only

Image only cards are clickable full-sized images.

Captioned image

Captioned image cards are clickable, full-sized images with accompanying descriptive text.

Classic

A classic card without an image included will result in a text announcement card. If an image is included, you will receive a short news card.

Card methods

All Card data model objects offer the following analytics methods for logging user events to Braze servers.

guide/swift/content_cards.md developer_ %}

guide/web/content_cards.md developer_ %}

guide/cordova/content_cards.md developer_ %}

guide/flutter/content_cards.md developer_ %}

guide/react_native/content_cards.md developer_ %}

guide/tvos/content_cards.md developer_ %}

guide/unity/content_cards.md developer_ %}

guide/xamarin/content_cards.md developer_ %}

이 페이지가 얼마나 도움이 되었나요?
New Stuff!