public static void EnablePush(KGPushOption option, bool enable, Action <bool> callback) { KGPush.EnablePush( option, enable, (result) => { if (callback != null) { if (result.isSuccess) { // Setting of push receipt option successful callback(true); } else { // Setting of push receipt option failed callback(false); } } }); }
public static bool IsPushEnable(KGPushOption option) { return(KGPush.IsEnablePush(option)); }