cn.jpush.api.device.DeviceClient.isDeviceInTag C# (CSharp) Method

isDeviceInTag() public method

public isDeviceInTag ( String theTag, String registrationID ) : cn.jpush.api.common.resp.BooleanResult
theTag String
registrationID String
return cn.jpush.api.common.resp.BooleanResult
        public BooleanResult isDeviceInTag(String theTag, String registrationID)
        {
            Preconditions.checkArgument(!String.IsNullOrEmpty(theTag), "theTag should be set");
            Preconditions.checkArgument(!String.IsNullOrEmpty(registrationID), "registrationID should be set");
            String url = HOST_NAME_SSL + TAGS_PATH + "/" + theTag + "/registration_ids/" + registrationID;
            ResponseWrapper response = this.sendGet(url, Authorization(), null);
            return BooleanResult.fromResponse(response);
        }