You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.2 KiB

//
// JCPushInfo.h
// JCSDKOC
//
// Created by maikireton on 2017/9/15.
// Copyright © 2017年 juphoon. All rights reserved.
//
#import <Foundation/Foundation.h>
/**
* @addtogroup
* @{
*/
/**
*
*/
@interface JCPushTemplate : NSObject
/**
* token
* @param deviceToken token
* @param voip voip token
* @param debug debug
*/
-(id)initWithToken:(NSData*)deviceToken voip:(bool)voip debug:(bool)debug;
/**
*
* @param sound ring.m4r nil
* @param seconds
*/
-(id)initWithCall:(NSString*)sound expiration:(int)seconds;
/**
*
* @param infoType
* @param tip xx:"发送了条消息"tip值 nil
* @param sound ring.m4r
* @param seconds
*/
-(id)initWithText:(NSString*)infoType tip:(NSString*)tip sound:(NSString*)sound expiration:(int)seconds;
/**
*
*/
-(NSString*)getData;
@end
/**
* @}
*/