The spv.ds.ipprot.IpadClient
Class
spv.ds.ipprot.IpadClient(service_url, use_jsonp)
service_url
{string
}
-
use_jsonp
{boolean
}
-
.bip(session_id, category, input, on_success, on_failure)
session_id
{string
}
-
category
{string
}
-
input
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.OutBop
)}
-
on_failure
{function
(Error
)}
-
.create_session(menu_query, readmore_mode, on_success, on_failure)
menu_query
{string
}
-
readmore_mode
{string
}
-
on_success
{function
(spv.ds.ipprot.dsproto.SessionInitData
)}
-
on_failure
{function
(Error
)}
-
.create_user(session_id, user_name, on_success, on_failure)
session_id
{string
}
-
user_name
{string
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-
.generate_pdf(session_id, template_name, add_auto_print, show_print_dialog,
on_success, on_failure)
session_id
{string
}
-
template_name
{string
}
-
add_auto_print
{boolean
}
-
show_print_dialog
{boolean
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.PdfGenerationResult
)}
-
on_failure
{function
(Error
)}
-
.generate_public_config(session_id, conf_name, on_success, on_failure)
session_id
{string
}
-
conf_name
{string
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.get_bump(session_id, category, on_success, on_failure)
session_id
{string
}
-
category
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.Bump
)}
-
on_failure
{function
(Error
)}
-
.get_categories(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(Array
.<spv.ds.ipprot.boostermiddle.Category
>)}
-
on_failure
{function
(Error
)}
-
.get_config_as_string(session_id, encoding, on_success, on_failure)
session_id
{string
}
-
encoding
{string
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.get_config_image(encoded_config, encoding, scaled_width, scaled_height, serie_name,
frame, crop_x_ratio, crop_y_ratio, cropped_width, cropped_height,
skip, skip_groups, only_use, only_use_groups, file_type, use_hd,
keep_aspect_ratio, auto_crop, on_success, on_failure)
encoded_config
{string
}
-
encoding
{string
}
-
scaled_width
{number
}
-
scaled_height
{number
}
-
serie_name
{string
}
-
frame
{number
}
-
crop_x_ratio
{number
}
-
crop_y_ratio
{number
}
-
cropped_width
{number
}
-
cropped_height
{number
}
-
skip
{string
}
-
skip_groups
{string
}
-
only_use
{string
}
-
only_use_groups
{string
}
-
file_type
{string
}
-
use_hd
{boolean
}
-
keep_aspect_ratio
{boolean
}
-
auto_crop
{boolean
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.get_config_image_light(encoded_config, encoding, output_width, output_height, serie_name,
frame, file_type, keep_aspect_ratio, on_success, on_failure)
encoded_config
{string
}
-
encoding
{string
}
-
output_width
{number
}
-
output_height
{number
}
-
serie_name
{string
}
-
frame
{number
}
-
file_type
{string
}
-
keep_aspect_ratio
{boolean
}
-
on_success
{function
(spv.ds.ipprot.boostermiddle.ImageResponse
)}
-
on_failure
{function
(Error
)}
-
.get_configs(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(spv.ds.ipprot.boosterconfig.Result
)}
-
on_failure
{function
(Error
)}
-
.get_current_config_image(session_id, scaled_width, scaled_height, serie_name, frame,
crop_x_ratio, crop_y_ratio, cropped_width, cropped_height, skip,
skip_groups, only_use, only_use_groups, file_type, use_hd,
keep_aspect_ratio, auto_crop, on_success, on_failure)
session_id
{string
}
-
scaled_width
{number
}
-
scaled_height
{number
}
-
serie_name
{string
}
-
frame
{number
}
-
crop_x_ratio
{number
}
-
crop_y_ratio
{number
}
-
cropped_width
{number
}
-
cropped_height
{number
}
-
skip
{string
}
-
skip_groups
{string
}
-
only_use
{string
}
-
only_use_groups
{string
}
-
file_type
{string
}
-
use_hd
{boolean
}
-
keep_aspect_ratio
{boolean
}
-
auto_crop
{boolean
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.get_facebook_share_data(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(spv.ds.ipprot.boostermiddle.FacebookShareData
)}
-
on_failure
{function
(Error
)}
-
.get_fresh_configs(session_id, ctime, limit, meta_filter, scale_width, scale_height,
on_success, on_failure)
session_id
{string
}
-
ctime
{number
}
-
limit
{number
}
-
meta_filter
{string
}
-
scale_width
{number
}
-
scale_height
{number
}
-
on_success
{function
(Array
.<spv.ds.ipprot.boosterconfig.FreshConfig
>)}
-
on_failure
{function
(Error
)}
-
.get_image(session_id, serie_index, frame_index, on_success, on_failure)
session_id
{string
}
-
serie_index
{number
}
-
frame_index
{number
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.get_item_info(session_id, item_ids, on_success, on_failure)
session_id
{string
}
-
item_ids
{string
}
-
on_success
{function
(Array
.<spv.ds.ipprot.boostercshw.OutBopUpdate
>)}
-
on_failure
{function
(Error
)}
-
.get_state_resolvers(session_id, item_id, on_success, on_failure)
session_id
{string
}
-
item_id
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.OutResolvers
)}
-
on_failure
{function
(Error
)}
-
.get_user_config_image(session_id, config_name, scaled_width, scaled_height, serie_name,
frame, crop_x_ratio, crop_y_ratio, cropped_width, cropped_height,
skip, skip_groups, only_use, only_use_groups, file_type, use_hd,
keep_aspect_ratio, auto_crop, on_success, on_failure)
session_id
{string
}
-
config_name
{string
}
-
scaled_width
{number
}
-
scaled_height
{number
}
-
serie_name
{string
}
-
frame
{number
}
-
crop_x_ratio
{number
}
-
crop_y_ratio
{number
}
-
cropped_width
{number
}
-
cropped_height
{number
}
-
skip
{string
}
-
skip_groups
{string
}
-
only_use
{string
}
-
only_use_groups
{string
}
-
file_type
{string
}
-
use_hd
{boolean
}
-
keep_aspect_ratio
{boolean
}
-
auto_crop
{boolean
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.heartbeat(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.init_settings(on_success, on_failure)
on_success
{function
(spv.ds.ipprot.intropage.Root
)}
-
on_failure
{function
(Error
)}
-
.initialize_session(on_success, on_failure)
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.invoke_dynamic_service(session_id, service_name, argument, on_success, on_failure)
session_id
{string
}
-
service_name
{string
}
-
argument
{string
}
-
on_success
{function
(Object
.<string
, string
>)}
-
on_failure
{function
(Error
)}
-
.load_config(session_id, conf_name, on_success, on_failure)
session_id
{string
}
-
conf_name
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.ConfigBop
)}
-
on_failure
{function
(Error
)}
-
.load_config_from_string(session_id, config, encoding, on_success, on_failure)
session_id
{string
}
-
config
{string
}
-
encoding
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.ConfigBop
)}
-
on_failure
{function
(Error
)}
-
.load_public_config(session_id, conf_name, on_success, on_failure)
session_id
{string
}
-
conf_name
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.ConfigBop
)}
-
on_failure
{function
(Error
)}
-
.login(session_id, user_name, on_success, on_failure)
session_id
{string
}
-
user_name
{string
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.rebop(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.OutBop
)}
-
on_failure
{function
(Error
)}
-
.remove_config(session_id, conf_name, on_success, on_failure)
session_id
{string
}
-
conf_name
{string
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
.reset(session_id, on_success, on_failure)
session_id
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.OutBop
)}
-
on_failure
{function
(Error
)}
-
.save_config(session_id, conf_name, allow_overwrite, on_success, on_failure)
session_id
{string
}
-
conf_name
{string
}
-
allow_overwrite
{boolean
}
-
on_success
{function
(string
)}
-
on_failure
{function
(Error
)}
-
session_id
{string
}
-
menu_query
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.OutBop
)}
-
on_failure
{function
(Error
)}
-
.set_price_localization(session_id, lid, on_success, on_failure)
session_id
{string
}
-
lid
{string
}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.test_internal_server_error(on_success, on_failure)
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_add_flag(user_name, config_name, flag, on_success, on_failure)
user_name
{string
}
-
config_name
{string
}
-
flag
{string
}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_add_flag_to_all(user_name, flag, on_success, on_failure)
user_name
{string
}
-
flag
{string
}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_add_flag_to_all_ignoring_flags(user_name, flag, ignore_flags, on_success, on_failure)
user_name
{string
}
-
flag
{string
}
-
ignore_flags
{Array
.<string
>}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_list(user_name, on_success, on_failure)
user_name
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.SavedUser
)}
-
on_failure
{function
(Error
)}
-
.user_config_list_ignoring_flags(user_name, ignore_flags, on_success, on_failure)
user_name
{string
}
-
ignore_flags
{Array
.<string
>}
-
on_success
{function
(spv.ds.ipprot.boostercshw.SavedUser
)}
-
on_failure
{function
(Error
)}
-
.user_config_load(session_id, user_name, config_name, on_success, on_failure)
session_id
{string
}
-
user_name
{string
}
-
config_name
{string
}
-
on_success
{function
(spv.ds.ipprot.boostercshw.ConfigBop
)}
-
on_failure
{function
(Error
)}
-
.user_config_remove_all_configs(user_name, on_success, on_failure)
user_name
{string
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-
.user_config_remove_flag(user_name, config_name, flag, on_success, on_failure)
user_name
{string
}
-
config_name
{string
}
-
flag
{string
}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_remove_flag_from_all(user_name, flag, on_success, on_failure)
user_name
{string
}
-
flag
{string
}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_remove_flag_from_all_ignoring_flags(user_name, flag, ignore_flags, on_success, on_failure)
user_name
{string
}
-
flag
{string
}
-
ignore_flags
{Array
.<string
>}
-
on_success
{function
(boolean
)}
-
on_failure
{function
(Error
)}
-
.user_config_remove_user(user_name, on_success, on_failure)
user_name
{string
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-
.user_config_remove_user_config(user_name, config_name, on_success, on_failure)
user_name
{string
}
-
config_name
{string
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-
.user_config_save(session_id, user_name, config_name, allow_overwrite, on_success,
on_failure)
session_id
{string
}
-
user_name
{string
}
-
config_name
{string
}
-
allow_overwrite
{boolean
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-
.user_config_save_user_data(session_id, user_name, on_success, on_failure)
session_id
{string
}
-
user_name
{string
}
-
on_success
{Function
}
-
on_failure
{function
(Error
)}
-