1/*
2 * Copyright (C) 2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#ifndef OHOS_I_NFC_HCE_CMD_H
17#define OHOS_I_NFC_HCE_CMD_H
18
19#include <string>
20#include <string_ex.h>
21#include <vector>
22#include <iremote_broker.h>
23
24#include "message_parcel.h"
25#include "message_option.h"
26
27namespace OHOS {
28namespace NFC {
29namespace KITS {
30class IHceCmdCallback : public IRemoteBroker {
31public:
32    /**
33     * @brief  send apdu data to js service
34     * @param  data: data send to js service
35     * @return void
36     */
37    virtual void OnCeApduData(const std::vector<uint8_t> &data) = 0;
38
39public:
40    DECLARE_INTERFACE_DESCRIPTOR(u"ohos.nfc.kits.IHceCmdCallback");
41};
42} // namespace KITS
43} // namespace NFC
44} // namespace OHOS
45#endif
46