AdapterIOSNative.cpp 1.37 KB
//
//AdapterIOSNative.cpp
//  LiveCam
//
//  Created by sbc on 22/12/20.
//  Copyright © 2020 roopam mishra. All rights reserved.
//

#include "AdapterIOSNative.hpp"

const char *tag = "AdapterIOSNative";

extern "C" {

AdapterIOSNative::AdapterIOSNative() {
    cout << "AdapterIOSNative constructor";
};

AdapterIOSNative* AdapterIOSNative::initialise(string path,string id,string bundleId,string deviceModel,string deviceBrand,string filepath) {
    cout << "AdapterIOSNative initialise" << endl;
    this->filepath = filepath;
    this->path = path;
    this->deviceId = id;
    this->bundleId = bundleId;
    this->deviceModel = deviceModel;
    this->deviceBrand = deviceBrand;
    return this;
};

string AdapterIOSNative::getID(){
    cout << "AdapterIOSNative getID " << deviceId << endl;
    return deviceId;
};

string AdapterIOSNative::getPath(PATH_TYPE type) {
    cout << "AdapterIOSNative getPath " << path << endl;
    return path;
};

//to be changed to BundleID
string AdapterIOSNative::getBundleID(){
    cout << "AdapterIOSNative getBundleID " << bundleId << endl;
    return bundleId;
};

string AdapterIOSNative::getDeviceModel() {
    cout << "AdapterIOSNative getDeviceModel " << deviceModel << endl;
    return deviceModel;
};

string AdapterIOSNative::getDeviceBrand(){
    cout << "AdapterIOSNative getDeviceBrand " << deviceBrand << endl;
    return deviceBrand;
};

}