package com.yeshi.push;
|
|
import com.yeshi.push.entity.PushAppInfo;
|
|
public class PushAppInfoFactory {
|
|
public static PushAppInfo createXM(String appId, String appKey) {
|
return new PushAppInfo(appId, appKey, null);
|
}
|
|
public static PushAppInfo createOPPO(String appKey, String appSecret) {
|
return new PushAppInfo(null, appKey, appSecret);
|
}
|
|
public static PushAppInfo createVIVO(String appId, String appKey) {
|
return new PushAppInfo(appId, appKey, null);
|
}
|
|
public static PushAppInfo createHuaWei(String appId) {
|
return new PushAppInfo(appId, null, null);
|
}
|
|
public static PushAppInfo createMeizu(String appId, String appKey) {
|
return new PushAppInfo(appId, appKey, null);
|
}
|
|
|
}
|