Set Card to Gray

更新时间:
复制 MD 格式

Cards support a grayscale mode that switches their display from color to grayscale. This feature is client-controlled and requires no changes to the card itself.

Introduction

The card grayscale feature switches a card from color to grayscale. This feature is controlled by the client and requires no special operations on the card.

Android

After you retrieve the card in the onLoaded method, perform operations on the CubeCard as follows.

cubeCard.setGrayFilter(isGray);

iOS

After you retrieve the card in the onLoaded method, perform operations on the CubeCard as follows.

[cubeCard setGrayFilter:true];

HarmonyOS

Not supported.