32 lines
669 B
Java
32 lines
669 B
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
package com.ifish.helper;
|
|
|
|
import java.util.Map;
|
|
|
|
/**
|
|
*
|
|
* @author Administrator
|
|
*/
|
|
public interface JpushHelperI {
|
|
|
|
/**
|
|
* 向安卓手机推送一条信息
|
|
*
|
|
* @param message
|
|
* @return
|
|
*/
|
|
boolean pushMessageByAndroid(String message, String registrationID, Map map);
|
|
|
|
/**
|
|
* 向苹果手机推送一条信息
|
|
*
|
|
* @param message
|
|
* @return
|
|
*/
|
|
boolean pushMessageByIOS(String message, String registrationID, Map map);
|
|
}
|