public static NIMSignalingPushInfo_C GetNativeNIMSignalingPushInfo(NIMSignalingPushInfo param)
        {
            NIMSignalingPushInfo_C param_c = new NIMSignalingPushInfo_C();

            if (param != null)
            {
                param_c.need_badge_   = param.need_badge_;
                param_c.push_title_   = Utf8StringMarshaler.GetInstance("").MarshalManagedToNative(param.push_title_);
                param_c.push_content_ = Utf8StringMarshaler.GetInstance("").MarshalManagedToNative(param.push_content_);
                param_c.push_payload_ = Utf8StringMarshaler.GetInstance("").MarshalManagedToNative(param.push_payload_);
                param_c.need_push_    = param.need_push_;
            }
            return(param_c);
        }
        public static NIMSignalingPushInfo NIMSignalingPushInfoFromC(NIMSignalingPushInfo_C param)
        {
            NIMSignalingPushInfo push_info = new NIMSignalingPushInfo();

            if (param != null)
            {
                push_info.need_badge_   = param.need_badge_;
                push_info.push_title_   = Convert.ToString(Utf8StringMarshaler.GetInstance("").MarshalNativeToManaged(param.push_title_));
                push_info.push_content_ = Convert.ToString(Utf8StringMarshaler.GetInstance("").MarshalNativeToManaged(param.push_content_));
                push_info.push_payload_ = Convert.ToString(Utf8StringMarshaler.GetInstance("").MarshalNativeToManaged(param.push_payload_));
                push_info.need_push_    = param.need_push_;
            }
            return(push_info);
        }