Search in sources :

Example 1 with AnalyticsDimensions

use of com.zype.android.zypeapi.model.AnalyticsDimensions in project zype-android by zype.

the class DbHelper method analyticsApiToEntity.

public static AnalyticBeacon analyticsApiToEntity(Analytics analytics) {
    AnalyticBeacon result = new AnalyticBeacon();
    result.beacon = analytics.beacon;
    AnalyticsDimensions dimensions = analytics.dimensions;
    result.device = dimensions.device;
    result.playerId = dimensions.playerId;
    result.siteId = dimensions.siteId;
    result.videoId = dimensions.videoId;
    return result;
}
Also used : AnalyticBeacon(com.zype.android.Db.Entity.AnalyticBeacon) AnalyticsDimensions(com.zype.android.zypeapi.model.AnalyticsDimensions)

Aggregations

AnalyticBeacon (com.zype.android.Db.Entity.AnalyticBeacon)1 AnalyticsDimensions (com.zype.android.zypeapi.model.AnalyticsDimensions)1