Filter
-
Content Type
-
Category
Mobile/Wearable
Visual Display
Digital Appliance
Platform
Mobile/Wearable
Visual Display
Digital Appliance
Platform
Filter
SDP DevOps
docend user license agreement 1 application 1 1 this end user software license "license" allows you to use software "software" made available on samsung's developer portal developer samsung com subject to the terms of the license this license is a legally binding agreement between you and samsung electronics co ltd "samsung" with its registered office at 416, maetan-3dong, yeongtong-gu, suwon-city, gyeonggi-do, korea 443-742 2 license 2 1 samsung grants you for the term of this license a limited, personal, non-exclusive license to use the software in object code executable only form on a single computer owned, leased and/or controlled by you limited to use in order to develop software applications for samsung products; make up to 2 copies of the software in machine readable form for normal operational security and back-up purposes this license will apply to such copies as it applies to the original copy of the software installed by you 2 2 all rights not expressly granted to you under this license are reserved to samsung, and you agree not to take or permit any action with respect to the software that is not expressly authorized under this license for the avoidance of doubt, you have no right to use, incorporate into other products, copy, modify, translate or transfer to any third party the software or any modification, adaptation or copy of the software or any part thereof, nor to decompile, reverse engineer, or disassemble the binary code of the software, either in whole or in part, except as expressly provided in this license 2 3 the software is licensed to you only you may not rent, lease, sub-license, sell, assign, pledge, transfer or otherwise dispose of the software, on a temporary or permanent basis without the prior written consent of samsung 3 ownership of intellectual property rights 3 1 your only right to use the software is by virtue of this license and you acknowledge that all intellectual property rights in or relating to the software and all parts of the software are and shall remain the exclusive property of samsung or its licensors 3 2 you further acknowledge that all intellectual property rights in or relating to any improvement, modification or adaptation of the software arising directly or indirectly from you using the software are and shall remain the exclusive property of samsung 3 3 you agree that you will not remove or alter any copyright notices or similar proprietary devices, including without limitation any electronic watermarks or other identifiers, that may be incorporated in the software or any copy of the software 4 confidentiality 4 1 the structure, organization and source code of the software are the valuable trade secrets and proprietary confidential information of samsung and its licensors you agree not to provide or disclose any such confidential information in the software or derived from it to any third party 4 2 the provisions of clause 4 1 will not apply to any information which is lawfully obtained free of any duty of confidentiality otherwise than directly or indirectly from samsung ; or already in your possession, provided that licensee can show such possession from written records other than as a result of a breach of this clause 4 ; or which you can demonstrate is in the public domain other than as a result of a breach of this clause 4 4 3 to the extent that any information is necessarily disclosed pursuant to a statutory or regulatory obligation or court order, such disclosure shall not be a breach of this clause 4 provided you do what you can to prevent any such disclosure 5 warranty and support 5 1 the software is provided “as is” with no representation, guarantee or warranty of any kind as to its functionality or that it does not and will not infringe any third party rights including intellectual property rights samsung has no obligation under this license to provide technical or other support to you the provision of any such services shall be subject to a separate agreement 6 limitation and exclusion of liability 6 1 samsung does not exclude its liability if any to you for personal injury or death resulting from samsung’s negligence; for any matter for which it would be illegal for samsung to exclude or to attempt to exclude its liability; or for fraud 6 2 samsung makes no express warranties with respect to the software and samsung hereby excludes to the fullest extent permissible in law , all conditions, warranties including without limitation any warranty that the software will meet your requirements or that its operation will be uninterrupted or error free and stipulations, express other than those set out in this license or implied, statutory, customary or otherwise which, but for such exclusion, would or might subsist in favour of you except as set out in this license you assume the entire risk as to the quality and performance of the software 6 3 subject to clause 6 1 samsung will be under no liability to you whatsoever whether in contract, tort including negligence , breach of statutory duty, restitution or otherwise for any injury, death, damage or direct, indirect or consequential loss all three of which terms include, without limitation, pure economic loss, loss of profits, loss of business, loss of data, loss of savings, depletion of goodwill and like loss howsoever caused arising out of or in connection with the software, or the manufacture or sale or supply, or failure or delay in supply, of the software by samsung or on the part of samsung’s employees, agents or sub-contractors; any breach by samsung of any of the express or implied terms of this license; any use made of the software; or any statement made or not made, or advice given or not given, by or on behalf of samsung 6 4 subject to clause 6 1 and without prejudice to clauses 6 2 and 6 3 , samsung’s aggregate liability under this license whether in contract, tort including negligence , breach of statutory duty, restitution or otherwise for any injury, death, damage or direct or consequential loss all three of which terms include without limitation of profits, loss of business, depletion of goodwill and like loss howsoever caused other than for death or personal injury caused by samsung’s negligence will be limited to the higher of the price paid by you to use the software or usd $1 00 6 5 you acknowledge that the above provisions of this clause 6 are reasonable given the charges made if any for the software and you will accept such risk and/or insure accordingly 6 6 any rights that you have as a consumer are not affected by this clause 6 7 term and termination 7 1 this license shall commence upon the earlier of your acceptance of this license or your installation of the software and shall continue until terminated in accordance with clause 7 2 or otherwise in accordance with this license 7 2 this license will terminate automatically if fail to comply with any term or condition of this license or if you uninstall/destroy or voluntarily return the software to samsung 7 3 upon termination of this license for any reason whatsoever you must uninstall the software and destroy, and upon request of samsung certify the destruction of, all copies of the software including all components of it in your possession 7 4 the termination of this license howsoever arising is without prejudice to the rights, duties and liabilities of either party accrued prior to termination clauses 2 2 , 2 3 , 3 , 4 , 5, 6, 7 3 , 8, 9 and 1 0 of this license will continue to be enforceable notwithstanding termination 8 governing law and jurisdiction 8 1 the formation, existence, construction, performance, validity and all aspects whatsoever of this licence or of any term of this licence will be governed by the law of south korea 8 2 subject to clause 8 3 the courts of south korea will have exclusive jurisdiction to settle any disputes which may arise out of or in connection with this licence the parties irrevocably agree to submit to that jurisdiction 8 3 the agreement contained in clause 8 1 above is included for the benefit of samsung accordingly samsung retains the right to bring proceedings in any other court of competent jurisdiction you irrevocably waive any objection to, and agree to submit to, the jurisdiction of such other courts 8 4 you irrevocably agree that a judgment or order of any court referred to in this clause is conclusive and binding upon you and may be enforced against you in the courts of any other jurisdiction 9 compliance with applicable law 9 1 you acknowledge and agree that notwithstanding the fact that this license is governed by the laws of south korea, you may be subject to additional laws in other jurisdictions with respect to your use of the software you will comply with the laws of any jurisdiction that apply to the software, including without limitation any applicable export laws or regulations 10 general 10 1 if any clause or part of this license is found by any court, tribunal, administrative body or authority of competent jurisdiction to be illegal, invalid or unenforceable then that provision will, to the extent required, be severed from this license and will be ineffective without, as far as is possible, modifying any other clause or part of this license and this will not affect any other provisions of this license which will remain in full force and effect 10 2 no failure or delay by any party to exercise any right, power or remedy will operate as a waiver of it nor will any partial exercise preclude any further exercise of the same, or of some other right, power or remedy 10 3 this license contains all the terms which the parties have agreed in relation to the subject matter of this license and supersedes any prior written or oral agreements, representations or understandings between the parties in relation to such subject matter 10 4 samsung reserves the right to revise the terms of this license by updating the license on its web site, or by notifying you by post or by e-mail you are advised to check this license periodically for notices concerning revisions your continued use of the software shall be deemed to constitute acceptance of any revised terms 10 5 you may not assign the benefit including any present, future or contingent interest or right to any sums or damages payable by either party under or in connection with this license or delegate the burden of this license or hold this license on trust for any other person 10 6 you will be deemed to have accepted the terms of this license by installing the software onto any computer
Develop Samsung Browser
docad blockers development guide as of 4 0, samsung internet for android allows third-party apps to provide filters for ad blocking you can let users browse the web without unnecessary advertisements cluttering their screens overview samsung internet for android uses the filter data provided by your apps to tidy up web pages shown to users in samsung internet for android, the ad blockers menu is located in the add-ons or extensions in older versions page and the pre-registered ad blocking apps will be listed when the menu is selected details for registering your app to samsung internet for android is described in the basic guidelines section once registered, your app will be listed together with other pre-registered ad blocking apps when your app is enabled, it will be downloaded from the registered app store and installed then samsung internet for android will request your app to send the filter data and start using the received filter data when rendering web pages up to 5 ad blocking apps can be enabled and used simultaneously basic guidelines filter format samsung internet for android works with filters following the widely known adblock plus filter adblockplus org/filters format packaged into android apk packages app registration to register your app to samsung internet for android, the following preconditions need to be met the contentprovider’s authority string should follow this format <provider> android name="com example sampleapp samplecontentprovider" android authorities="< your_package_name > contentblocker contentprovider" android exported="true"> </provider> add the following uses-permission in your androidmanifest xml file <uses-permission android name="com samsung android sbrowser permission contentblocker" /> include the version info for our ad blockers interface in your androidmanifest xml file <meta-data android name="com samsung android sbrowser contentblocker interfaceversion" android value="api_1 0" /> validation process the validation process from samsung is designed to make sure that the interface between the add-on app and samsung internet for android is working properly, and the add-on app can be properly enabled and disabled from samsung internet for android the intent of the validation process is to make sure that the app is not misleading the user you need to send the final apk package of your app to cb web@samsung com and follow the validation process before uploading your app to public app markets detailed guidelines will be provided through e-mail, and the validation process takes about 1 to 2 week s once validated, the package name and signature will be registered, and your app can be used by samsung internet for android * samsung reserves the rights to change the validation process without prior notice updating filter data samsung internet for android will request the up-to-date filter data from your app whenever needed or, you can send a broadcast message with the intent action and data set following the below format intent intent = new intent ; intent setaction "com samsung android sbrowser contentblocker action_update" ; intent setdata uri parse "package <your_package_name>" ; sendbroadcast intent ;</your_package_name> launching ad blockers menu in samsung internet for android settings you can launch the ad blockers setting menu of samsung internet for android from your app with startactivity intent intent intent = new intent ; intent setaction "com samsung android sbrowser contentblocker action_setting" ; list<resolveinfo> list = getpackagemanager queryintentactivities intent, packagemanager match_default_only ; if list size > 0 { startactivity intent ; } development mode samsung internet for android provides a development mode for ad blockers, so you can test your app before carrying out the validation process install your app to your test device and type "internet //contentblock" in the url bar of samsung internet for android to enable development mode if you launch the add-ons menu in settings with the development mode enabled, you will be able to select and test your ad blocking app even if it is not validated note development mode is only intended for ad blocking app developers you must not guide app users to enable development mode in order to use your app restrictions supported devices ad blockers feature is supported on every android device with samsung internet for android 4 0 and later however, only the samsung galaxy devices can browse and download the pre-registered ad blocking apps in galaxy store non-samsung galaxy devices can download the pre-registered ad blocking apps in the google play store only hence, for some non-samsung galaxy devices without google play service, the ad blockers feature will be disabled because it’s not possible to download the pre-registered ad blocking apps from galaxy store and google play store developer feedback for more details or inquiries, please contact cb web@samsung com
Develop Smart Hospitality Display
apiavplayextension api to use samsung product api, <script type="text/javascript" src="$webapis/avplayextension/avplayextension js"></script> should be loaded in index html the module defines the functionalities of the player that are exposed and which could be easily used by an application or widget developer to support multimedia rtp/udp playback for audio or video that are provided by the tizen samsung product api since 6 5 product b2b htv remark webapp should include avplayextension js file in index html summary of interfaces and methods interface method avplaymanagerobject avplaymanager void open domstring url ;void close ;void prepare ;void prepareasync optional successcallback? successcallback, optional errorcallback? errorcallback ;void setdisplayrect unsigned long x, unsigned long y, unsigned long width, unsigned long height ;void play ;void stop ;avplayplayerstate getstate ;unsigned long getcurrenttime ;void setlistener avplayplaybackcallback playbackcallback ;domstring setdrm avplaydrmtype drmtype, avplaydrmoperation drmoperation, domstring jsonparam ;void setdisplaymethod avplaydisplaymode displaymode ;void setselecttrack avplaystreamtype tracktype, long trackindex ;avplaystreaminfo getcurrentstreaminfo ;avplaystreaminfo[] gettotaltrackinfo ;void setstreamingproperty avplaystreamingpropertytype propertytype, any propparam ;domstring getversion ;void setdisplayrotation domstring displayrotation ; avplayplaybackcallback void onevent avplayevent eventid, domstring data ;void onerror avplayerror eventid ;void ondrmevent avplaydrmtype type, drmdata data ; 1 type definitions 1 1 avplayplayerstate this enumeration defines the player states enum avplayplayerstate { "none", "idle", "ready", "playing", "paused" }; the following values are supported none indicates that the player is not created idle indicates that the player is created but not prepared ready indicates that the player is ready to play a media playing indicates that the player is playing a media paused indicates that the player is paused 1 2 avplaydisplaymode this enumeration defines the possible values for webapis avplay setdisplaymethod enum avplaydisplaymode { "player_display_mode_letter_box", "player_display_mode_full_screen", "player_display_mode_auto_aspect_ratio" }; the following values are supported player_display_mode_letter_box letter box mode player_display_mode_full_screen full screen mode player_display_mode_auto_aspect_ratio use the dar/par from the video info to show video 1 3 avplaystreamingpropertytype this enumeration specifies the values for a specific feature in udp/rtp enum avplaystreamingpropertytype { "enable_ttx", "set_interactive_mode" }; the following values are supported enable_ttx sets the player to handle ttx dataservice in streams it has one string parameter, which is either "true" or "false" for setstreamingproperty set_interactive_mode enables the interactive mode which sets the latency to the player it has two parameters, one is the "mode" and the other is the "latency" for setstreamingproperty the mode value can be 0 off and 1 on , the latency must be given in milliseconds 1 4 avplaydrmtype this enumeration specifies the different drm types defined by the player enum avplaydrmtype { "proidiom", "lynk" }; the following values are supported proidiom indicates drm type is pro idiom lynk indicates drm type is lynkdrm scas 1 5 avplaydrmoperation this enumeration defines the different drm operations by the player enum avplaydrmoperation { "initialize", "finalize" }; the following values are supported initialize initializes the drm instance for further processing finalize finalizes the drm instance which was created earlier this must be done at the end before closing the player instance 1 6 avplaystreamtype this enumeration defines the stream types defined by the player enum avplaystreamtype { "video", "audio", "text" }; the following values are supported video indicates the video track audio indicates the audio track text indicates the subtitle track 1 7 avplayerror this enumeration defines the player error message types defined by the player enum avplayerror { "player_error_none", "player_error_invalid_parameter", "player_error_invalid_operation", "player_error_invalid_state", "player_error_not_supported_file", "player_error_invalid_uri", "player_error_connection_failed", "player_error_genereic" }; the following values are supported player_error_none indicates that the operation is successfully completed player_error_invalid_parameter if the player finds any parameter which a caller is trying to configure on it to be incorrect, this error is generated player_error_invalid_operation indicates an invalid api call at the moment player_error_invalid_state indicates the error that is generated when any api is called in a state where it is not suggested to be called refer to apis description for valid states player_error_not_supported_file indicates the error that is generated, when required multimedia components are not available to play the given content player_error_invalid_uri indicates an error that is generated when an input uri is in the invalid format player_error_connection_failed indicates the error that is generated, when no data is coming from the network player_error_genereic if the player fails to create a display window, this error is generated 1 8 avplayevent this enumeration defines the events that come from the player enum avplayevent { "player_msg_none", "player_streaming_event" }; the following values are supported player_msg_none notifies that a multimedia component message is not recognized by the player player_streaming_event any type of streaming data that the caller needs would be posted through this event 1 9 avplaystreaminfo the avplaystreaminfo dictionary specifies the streaming media-related information for the video, audio, and the subtitles during various streaming scenarios dictionary avplaystreaminfo { unsigned long index; avplaystreamtype type; domstring extra_info; }; the following values are supported index index value of the stream type type of the stream, either video, audio, or text extra_info domstring json string containing all the media-related information all stream types have an extra_info string //video extra_info example "{fourcc "h264","width" "1920","height" "1080","bit_rate" " 477000"}" //audio extra_info example "{"language" "fr","channels" "2","sample_rate" "48000","bit_rate" "256000","fourcc" "mpeg","track_lang" "fra","audio_type" "0"}" //text subtitle extra_info example "{"track_lang" "eng","subtitle_type" "0","pid" "258","subtitle_mode" "0"}" if the stream type is invalid, the domstring becomes null and the index value becomes -1 1 10 drmdata the drmdata dictionary specifies information about the data received from the player via the drm event dictionary drmdata { domstring name; long code; domstring message; long reserved; }; the following values are supported name name for the message received from the player code signifies the drm error code message drm error message generally, it is a human readable message reserved reserved for future use 2 interfaces 2 1 avplaymanagerobject the interface defines what is instantiated by the webapi object of the tizen-based samsung tv product api there will be a webapis object that allows access to the functionality of the avplay api [nointerfaceobject] interface avplaymanagerobject { readonly attribute avplaymanager avplay; }; webapi implements avplaymanagerobject; attributes readonly avplaymanager avplay namespace for the avplay api 2 2 avplaymanager this interface provides methods to use the avplay functionalities [nointerfaceobject] interface avplaymanager { void open domstring url ; void close ; void prepare ; void prepareasync optional successcallback? successcallback, optional errorcallback? errorcallback ; void setdisplayrect unsigned long x, unsigned long y, unsigned long width, unsigned long height ; void play ; void stop ; avplayplayerstate getstate ; unsigned long getcurrenttime ; void setlistener avplayplaybackcallback playbackcallback ; domstring setdrm avplaydrmtype drmtype, avplaydrmoperation drmoperation, domstring jsonparam ; void setdisplaymethod avplaydisplaymode displaymode ; void setselecttrack avplaystreamtype tracktype, long trackindex ; avplaystreaminfo getcurrentstreaminfo ; avplaystreaminfo gettotaltrackinfo ; void setstreamingproperty avplaystreamingpropertytype propertytype, any propparam ; domstring getversion ; void setdisplayrotation domstring displayrotation ; }; methods open this method instantiates the player object and takes the content url as the input parameter void open domstring url ; product b2b htv constraint can be called in the following states "none", "idle" privilege level partner privilege http //developer samsung com/privilege/streamingtvplayer parameters url the url of content to play it supports udp and rtp multicast urls exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example try { webapis avplay open url ; } catch e { console log e ; } close this method destroys the avplay object void close ; product b2b htv constraint can be called in the following states "none", "idle", "ready", "paused" , "playing" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example try { webapis avplay close ; } catch e { console log e ; } prepare this method prepares the media player for playback the player must have been created beforehand with a valid uri this prepare method is synchronous hence, the calling context would be blocked until the player is prepared void prepare ; product b2b htv constraint can be called in the following states "idle", "ready" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if the given url through open is invalid //for example, webapis avplay open "invalidurl" with error type invalidaccesserror, if the given url through open is valid but have outside multicast range //for example, webapis avplay open "udp //219 10 10 10" with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example try { webapis avplay prepare ; } catch e { console log e ; } prepareasync this method prepares the media player for playback, asynchronously this api prepares the mm core module, asynchronously it means that the internal media elements will change the state, asynchronously we recommend this asynchronous prepareasync call instead of the prepare call which is synchronous api which blocks the entire application during its execution prepareasync returns immediately, rather than blocking until enough data has been buffered since this works in asynchronous model, this does not block the executing thread and the application is responsive during its execution when prepareasync gets successfully completed, it returns with successcallback and player reached in ready state for some reason, e g network error, it returns with errorcallback with error value void prepareasync optional successcallback? successcallback, optional errorcallback? errorcallback ; product b2b htv constraint can be called in the following states "idle", "ready" parameters successcallback [optional][nullable] callback method to be invoked when this api is successful errorcallback [optional][nullable] callback method to invoke when an error occurs this function has one parameter which shows the following errortypes notsupportederror, if this feature is not supported invalidvalueserror, if the given url through open is invalid e g , webapis avplay open "invalidurl" invalidaccesserror, if the given url through open is valid, but does not exist or network issue e g , webapis avplay open "http //abc" invalidstateerror, if it is called in an invalid state unknownerror, for any other error exceptions webapiexception with error type typemismatcherror, if an input parameter is not compatible with the expected type code example webapis avplay prepareasync = function successcallback, errorcallback { if typeof successcallback === 'undefined' { successcallback = null; } if typeof errorcallback === 'undefined' { errorcallback = null; } try { webapis epavplay prepareasync successcallback, errorcallback ; } catch e { logerror e ; throw e ; } }; setdisplayrect this method sets the display area for playing the video content on the tv screen it should be called for showing the video after calling an open method app's default resolution is 1920x1080 it needs 4 parameters left,top,width,height that always use 1920 x 1080 coordinate system regardless of your application resolution void setdisplayrect unsigned long x, unsigned long y, unsigned long width, unsigned long height ; product b2b htv constraint can be called in the following states "idle", "paused", "ready", "playing" parameters x coordinate of the display area in the tv screen coordinates this x value is smaller than the tv screen width y coordinate of the display area in the tv screen coordinates this y value is smaller than the tv screen height width the width of the display area this value is smaller than the width of the tv screen height the height of the display area from the source image this value is smaller than the height of the source image exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example try { webapis avplay setdisplayrect 0, 0, 1920, 1080 ; } catch e { console log e ; } play this method starts the playback of the stream void play ; product b2b htv constraint can be called in the following states "ready", "paused" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example try { webapis avplay play ; } catch e { console log e ; } stop this method stops the player and hence any video that is currently being played void stop ; product b2b htv constraint can be called in the following states "none", "idle", "ready", "paused", "playing" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example try { webapis avplay stop ; } catch e { console log e ; } getstate this method returns the current state of the underlying player which is associated with the avplay object avplayplayerstate getstate ; product b2b htv constraint can be called in the following states "none", "idle", "ready", "playing", "paused" return value avplayplayerstate returns the state of the player "none", "idle", "ready", "playing", "paused" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example var bret = webapis avplay getstate ; getcurrenttime this method returns the current play time in milliseconds unsigned long getcurrenttime ; product b2b htv constraint can be called in the following states "none", "idle", "ready", "playing", "paused" return value unsigned long current playback time in milliseconds exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example var currentplaytime = webapis avplay getcurrenttime ; setlistener this method is used in order to obtain the player information, the drm mode information etc , and the callback function is registered when the relevant event occurs, the relevant callback function gets called asynchronously void setlistener avplayplaybackcallback playbackcallback ; product b2b htv constraint can be called in the following states "none", "idle" recommended , "ready", "paused", "playing" but it is highly recommended to call this api just after player_status_idle for onerror, onevent, ondrmevent, it must be in player_status_idle i e just after player is created , otherwise the necessary information will be missed parameters playbackcallback avplayplaybackcallback exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type unknownerror in any other error case code example var listener = { onevent function eventtype, eventdata { console log "event type error " + eventtype + ", data " + eventdata ; }, onerror function eventtype { console log "event type error " + eventtype ; }, ondrmevent function drmevent, drmdata { console log "drm callback " + drmevent + ", data " + drmdata ; } } webapis avplay setlistener listener ; setdrm this method updates the drm information, such as setproperties, etc it changes the drm mode, and runs the control feature every drm has difference between avplaydrmoperation and jsonparam domstring setdrm avplaydrmtype drmtype, avplaydrmoperation drmoperation, domstring jsonparam ; product b2b htv constraint can be called in the following states "idle" privilege level public privilege http //developer samsung com/privilege/drmplay parameters drmtype is the type of the drm drmoperation avplaydrmoperation this is a string parameter which specifies the drm operation to be performed for the current playback session it can have these values{"initialize", "finalize" } "setproperties" this operation is used when the drm related information is stringified in "json_string" format and passed along with this operation this is mainly used for setting the drm information like license server, etc //example setting license server some of the code examples are given below jsonparam domstring drm parameter represented by json string not object the application can call json stringify to generate json string in java script the above given drm operation examples could be stringified in this json_string param return value domstring "true" in case of success and "false" if fails exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type securityerror, if the application does not have the privilege to call this method with error type invalidstateerror, if it is called in an invalid state, "none" with error type unknownerror in any other error case during failure scenarios this api would post an exception the following could be the possible exception scenarios drm create failed if creation of the underlying drm module failed, an exception would be sent back with "false" return status of this api call invalid drm session if an invalid drm session is detected, an exception would be sent back with "false" return status of this api call drm configuration failure if a drm configuration failure is detected, an exception would be sent back with "false" return status of this api call note if you use this api, a special privilege level is required insert the http //developer samsung com/privilege/drmplay in the config xml file of the web application check below example <tizen privilege name="http //developer samsung com/privilege/drmplay"/> code example // example proidiom setting forensic data var drmparam = new object ; drmparam forensicdata = "xxxxxxx"; playerobj setdrm "proidiom", "initialize", json stringify drmparam ; // example lynkdrm setting type and lynk server var drmparam = new object ; drmparam type ="2"; drmparam lynkserver="xxx xxx xxx xxx xxxxx"; playerobj setdrm "lynk", "initialize", json stringify drmparam ; setdisplaymethod this method sets the video screen mode within the given display area void setdisplaymethod avplaydisplaymode displaymode ; product b2b htv constraint can be called in the following states "idle", "paused", "ready", "playing" limitation this api works when set as setdisplayrect 0,0,1920,1080 parameters displaymode could be one of "player_display_mode_letter_box", "player_display_mode_full_screen", "player_display_mode_auto_aspect_ratio" exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example webapis avplay setdisplaymethod "player_display_mode_full_screen" ; setselecttrack this method is used with multi audio/subtitle, when you want to change the audio and subtitle while playing void setselecttrack avplaystreamtype tracktype, long trackindex ; product b2b htv constraint can be called in the following state "playing" parameters tracktype it may be audio or text value trackindex it sets the index value of the avplaystreaminfo obtained through the webapis avplay gettotaltrackinfo function exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example var totaltrackinfo = webapis avplay gettotaltrackinfo ; for var i=0; i<totaltrackinfo length; i++ { if totaltrackinfo type == 'text' { console log 'find subtitle track ' ; console log 'subtitle track index is ' + totaltrackinfo index ; console log 'subtitle track language is ' + totaltrackinfo extra_info track_lang ; } } //for example, choose the subtitle track index number 2 webapis avplay setselecttrack 'text',2 ; getcurrentstreaminfo this method gets the currently playing streams video, audio, and subtitle information it informs that a stream is playing avplaystreaminfo getcurrentstreaminfo ; product b2b htv constraint can be called in the following states "playing" return value avplaystreaminfo avplaystreaminfo structure containing tracktype, extrainfo and index of current stream exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example var streaminfo = webapis avplay getcurrentstreaminfo ; var text = ''; for var i = 0; i < streaminfo length; i++ { text += 'index ' + streaminfo[i] index + ''; text += 'type ' + streaminfo[i] type + ''; text += 'extra_info ' + streaminfo[i] extra_info + ''; } all of stream type has extra_info which is jsonstring //video extra_info example "{fourcc "h264","width" "1920","height" "1080","bit_rate" " 477000"}" //audio extra_info example "{"language" "fr","channels" "2","sample_rate" "48000","bit_rate" "256000","fourcc" "mpeg","track_lang" "fra","audio_type" "0"}" //text subtitle extra_info example "{"track_lang" "eng","subtitle_type" "0","pid" "258","subtitle_mode" "0"}" in the case of invalid stream, the domstring becomes null and the index value becomes -1 gettotaltrackinfo this method gets the currently playing streams information avplaystreaminfo[] gettotaltrackinfo ; product b2b htv constraint can be called in the following state "playing" return value avplaystreaminfo avplaystreaminfo[] structure containing the tracktype, extrainfo, and the index of current stream it returns information for all the available tracks for the entire stream that is available in the current playback the following structure is used to send the information back to the caller for video tracks "{"fourcc" "%s","width" "%u","height" "%u","bit_rate" "%u"}" for audio track "{"language" "%s","channels" "%d","sample_rate" "%d","bit_rate" "%d","fourcc" "%s","track_lang" "%s","audio_type" "%d"}" for subtitle tracks "{"track_lang" "%s","subtitle_type" "%d","pid" "%d","subtitle_mode" "%s"}" exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example var trackinfo = webapis avplay gettotaltrackinfo ; var text = 'type of track info ' + typeof trackinfo + ''; text += 'length ' + trackinfo length + ''; for var i = 0; i<trackinfo length; i++ { text += 'index ' + trackinfo[i] index + ''; text += 'type ' + trackinfo[i] type + ''; text += 'extra_info ' + trackinfo[i] extra_info + ''; } setstreamingproperty this method sets the value for a specific feature in the udp/rtp playback void setstreamingproperty avplaystreamingpropertytype propertytype, any propparam ; product b2b htv constraint can be called in the following player state "idle" parameters propertytype property type to be set to the player propparam value according to the propertytype e g "enable_ttx" propetytypes are true, false, and for the "set_interactive_mode" mode is 1 with latency in milliseconds exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror in any other error case code example //set interactive mode example var propparam = new object ; propparam mode ="1"; propparam latency="100"; //latency in ms webapis avplay setstreamingproperty "set_interactive_mode", propparam ; //enable ttx mode example webapis avplay setstreamingproperty "enable_ttx", true ; getversion this method gets the version of avplay domstring getversion ; product b2b htv constraint can be called in the following states "none", "idle", "ready", "paused", "playing" return value domstring domstring string current version exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example var version = webapis avplay getversion ; setdisplayrotation this method sets the rotation settings of the video surface display if no display is set, no operation is performed use this method to change the video orientation to portrait mode this api call will change the origin of the coordinates hence, the application should call setdisplayrect again after calling this api void setdisplayrotation domstring displayrotation ; product b2b htv constraint can be called in the following states "idle", "ready", "playing", "paused" parameters displayrotation the rotation of the display the valid values for the display rotation are "player_display_rotation_none", "player_display_rotation_90", "player_display_rotation_180", "player_display_rotation_270" exceptions webapiexception with error type typemismatcherror, if an input parameter is not compatible with the expected type with error type notsupportederror, if this feature is not supported with error type invalidvalueserror, if any input parameter contains an invalid value with error type invalidstateerror, if it is called in an invalid state with error type unknownerror, for any other error code example webapis avplay setdisplayrotation "player_display_rotation_90" ; 2 3 avplayplaybackcallback this callback interface defines subscriptions for any notification on the buffering, playback [callback=functiononly, nointerfaceobject] interface avplayplaybackcallback { void onevent avplayevent eventid, domstring data ; void onerror avplayerror eventid ; void ondrmevent avplaydrmtype type, drmdata data ; }; methods onevent this method gets called async when some kind of event other event is received from the player void onevent avplayevent eventid, domstring data ; parameters eventid id of the event triggered by the player data description of the event received from the player exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example onevent function eventid, data { console log "onevent callback with eventtype " + eventid ; } onerror this method gets called when an error event is received from the player void onerror avplayerror eventid ; parameters eventid id of the error event trigerred by the player exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example onerror function eventid { console log "onerror event callback with eventtype " + eventid ; } ondrmevent this method gets called when the drm information is received from the player void ondrmevent avplaydrmtype type, drmdata data ; parameters type drm type data detailed information about the drm event received from the player { readonly attribute name name for the message, means an error occurred during the drm processing readonly attribute code signifies the drm error code readonly attribute message drm error message readonly attribute reserved not currently applicable } exceptions webapiexception with error type notsupportederror, if this feature is not supported with error type unknownerror in any other error case code example ondrmevent function type, data { console log "drm callback " + type + ", data " + data ; var errorinfo = { "name" data name, "error_code" data code, "error_message" data message // generally, the error message is human readable } } 3 full webidl module avplayextension { enum avplayplayerstate { "none", "idle", "ready", "playing", "paused" }; enum avplaydisplaymode { "player_display_mode_letter_box", "player_display_mode_full_screen", "player_display_mode_auto_aspect_ratio" }; enum avplaystreamingpropertytype { "enable_ttx", "set_interactive_mode" }; enum avplaydrmtype { "proidiom", "lynk" }; enum avplaydrmoperation { "initialize", "finalize" }; enum avplaystreamtype { "video", "audio", "text" }; enum avplayerror { "player_error_none", "player_error_invalid_parameter", "player_error_invalid_operation", "player_error_invalid_state", "player_error_not_supported_file", "player_error_invalid_uri", "player_error_connection_failed", "player_error_genereic" }; enum avplayevent { "player_msg_none", "player_streaming_event" }; dictionary avplaystreaminfo { unsigned long index; avplaystreamtype type; domstring extra_info; }; dictionary drmdata { domstring name; long code; domstring message; long reserved; }; [nointerfaceobject] interface avplaymanagerobject { readonly attribute avplaymanager avplay; }; webapi implements avplaymanagerobject; [nointerfaceobject] interface avplaymanager { void open domstring url ; void close ; void prepare ; void prepareasync optional successcallback? successcallback, optional errorcallback? errorcallback ; void setdisplayrect unsigned long x, unsigned long y, unsigned long width, unsigned long height ; void play ; void stop ; avplayplayerstate getstate ; unsigned long getcurrenttime ; void setlistener avplayplaybackcallback playbackcallback ; domstring setdrm avplaydrmtype drmtype, avplaydrmoperation drmoperation, domstring jsonparam ; void setdisplaymethod avplaydisplaymode displaymode ; void setselecttrack avplaystreamtype tracktype, long trackindex ; avplaystreaminfo getcurrentstreaminfo ; avplaystreaminfo[] gettotaltrackinfo ; void setstreamingproperty avplaystreamingpropertytype propertytype, any propparam ; domstring getversion ; void setdisplayrotation domstring displayrotation ; }; [callback=functiononly, nointerfaceobject] interface avplayplaybackcallback { void onevent avplayevent eventid, domstring data ; void onerror avplayerror eventid ; void ondrmevent avplaydrmtype type, drmdata data ; }; };
Develop Samsung Wallet
docreservation-rentalcars { "count" 2, "info" [ { "title" "included", "content" [ "car rental rates ldw-loss damage waiver tax & surcharge" ], "more" [ { "title" "what's included", "content" [ "options which is checked --- ", "please note that additional insurance ---" ] } ] }, { "title" "options", "content" [ "n/a" ] } ] } * example usage of charts { "count" 1, "info" [{ "title" "paygo price guide for usage", "chart" { "headers" ["grade", "round", "one-way"], "body" [ ["platinum", "$25", "$10"], ["gold", "$30", "$15"], ["silver", "$40", "$20"] ], "metadata" "unit /h" } }] } * example usage of html { "count" 2, "info" [ { "title" "<b>this is bold text</b> <font color='red'>this is red text</font> <a href='https //www example com'>this is a link</a>", "content" [ "1 wear a mask", "2 temperature check before entering the theater", "3 electronic entry registration for all customers using the performance", "please cooperate even if it takes some time before entering ", "we kindly ask for your cooperation " ] }, { "title" "[parking information]", "content" [ "<b>this is bold text</b> <font color='red'>this is red text</font> <a href='https //www example com'>this is a link</a>" ] } ] } paygo price guide for usage members grade round one-way platinum $25 $10 gold $30 $15 silver $40 $20 unit /h the above example may differ from what is actually displayed classification classification defines different kinds of people who can use the cards value description person[]array of object required container of person list who can use the card person[] categorystring required category name person[] countstring required number of persons example example * 3 persons with a ticket { "person" [ { "category" "adult", "count" 2 }, { "category" "child", "count" 1 } ] } * 1 person with a ticket { "person" [ { "category" "adult", "count" 1 } ] } transactions transactions to be delivered to customers can be defined in the following format be careful of the content string length if an attribute does not allow long content, it will not be displayed on the device json format value description [] datestring required transaction date [] amountstring optional amount value [] descriptionstring optional description example * an example for payasyougo-evcharge-transactions [ { "date" "2023-09-10 12 00 00", "amount" "50,000 won", "description" "suwon station branch" }, { "date" "2023-09-20 18 00 00", "amount" "70,000 won", "description" "gangnam central branch" } ] links links is a standard data structure that represents a list of actionable links provided by a content provider json format value description orderinteger 1~5 optional display order of the link smaller values are displayed first if omitted, the array order is used titlestring 32 required primary text shown to the user subtitlestring 32 optional secondary descriptive text shown below the title linkstring 2000 required url to access the provider’s additional information max 2000 characters de-facto limit example { "links" [ { "order" 1, "title" "medical consultation", "subtitle" "see more information", "link" "https //samsung external info link" } ] } locations locations refer to place information that denotes where a card can be used using this information, samsung wallet can show a map, place name, and address additionally, location information can be used to provide location-based services lbs location information can be represented by a json array and up to 10 locations can be specified note map services are only available in certain countries json format value description [] latdouble optional latitude [] lngdouble optional longitude [] addressstring required string containing the full address [] namestring required branch name example * location information for the entrance to oracle park [ { "lat" 37 779337, "lng" -122 388755, "address" "24 willie mays plaza, san francisco, ca 94107", "name" "willie mays plaza" }, { "lat" 37 77814, "lng" -122 390836, "address" "king st, san francisco, ca 94107", "name" "king st" } ] itinerary information json format value description itineraryinformation[] idstring 32 optional unique id assigned to each segment of the journey itineraryinformation[] orderstring 4 optional order of each segment within the overall itinerary itineraryinformation[] providernamestring 32 conditional provider name * required if subtype is etickets itineraryinformation[] providerlogostring 256 conditional url of the logo image * required if subtype is etickets itineraryinformation[] providerlogo darkurlstring 256 conditional url of the logo image in dark mode * required if subtype is etickets itineraryinformation[] providerlogo lighturlstring 256 conditional url of the logo image in light mode * required if subtype is etickets itineraryinformation[] departureobject conditional information about the place of departure itineraryinformation[] departure namestring 32 conditional name of the departure point * required if subtype is etickets itineraryinformation[] departure codestring 32 conditional iata code for the departure point * required if subtype is etickets itineraryinformation[] departure airportstring 100 conditional airport name of the departure point * required if subtype is etickets itineraryinformation[] departure terminalstring 100 conditional terminal name of the departure point * required if subtype is etickets itineraryinformation[] departure platformstring 100 optional platform name of the departure point itineraryinformation[] departure time xtimestamplong 13 conditional departure time epoch timestamp in milliseconds i e , the estimated time the aircraft plans to pull from the gate, or the actual time the aircraft already pulled from the gate * required if subtype is etickets itineraryinformation[] departure utcoffsetstring 8 conditional utc offset of time at the departure point * required if subtype is etickets itineraryinformation[] departure zoneidstring 64 optional unique identifier for a timezone as defined by the iana time zone database it represents a specific region's timezone, including rules for daylight saving time dst and historical changes ex "america/new_york", "europe/london" itineraryinformation[] departure literalvaluestring 32 optional the departure time that should be indicated on the screen is formatted valueformat yyyy-mm-ddthh mm ssex 2025-10-30t14 35 00 itineraryinformation[] departure latitudedouble optional the latitude of where the event is start* input when timestamp and zoneid information is not known itineraryinformation[] departure longitudedouble optional the longitude of where the event is start* input when timestamp and zoneid information is not known itineraryinformation[] departure addressstring 256 optional the address of where the event is start* input when timestamp and zoneid information is not known itineraryinformation[] arrivalobject conditional information about the place of arrival itineraryinformation[] arrival namestring 32 conditional name of the arrival point * required if subtype is etickets itineraryinformation[] arrival codestring 32 conditional iata code for the arrival point * required if subtype is etickets itineraryinformation[] arrival airportstring 100 conditional airport name of the arrival point * required if subtype is etickets itineraryinformation[] arrival terminalstring 100 conditional terminal name of the arrival point * required if subtype is etickets itineraryinformation[] arrival platformstring 100 optional platform name of the arrival point itineraryinformation[] arrival timelong 13 conditional arrival time epoch timestamp in milliseconds i e , the estimated time the aircraft plans to pull from the gate, or the actual time the aircraft already pulled from the gate * required if subtype is etickets itineraryinformation[] arrival utcoffsetstring 8 conditional utc offset of time at the arrival point * required if subtype is etickets itineraryinformation[] arrival zoneidstring 64 optional unique identifier for a timezone as defined by the iana time zone database it represents a specific region's timezone, including rules for daylight saving time dst and historical changes ex "america/new_york", "europe/london" itineraryinformation[] arrival literalvaluestring 32 optional the departure time that should be indicated on the screen is formatted value format yyyy-mm-ddthh mm ssex 2025-10-30t14 35 00 itineraryinformation[] arrival latitudedouble optional the latitude of where the event is start* input when timestamp and zoneid information is not known itineraryinformation[] arrival longitudedouble optional the longitude of where the event is start * input when timestamp and zoneid information is not known itineraryinformation[] arrival addressstring 256 optional the address of where the event is start * input when timestamp and zoneid information is not known itineraryinformation[] boardingtimelong 13 optional boarding time epoch timestamp in milliseconds itineraryinformation[] vehiclenumberstring 32 conditional transit or route numberi e , flight number on airlines * required if subtype is etickets itineraryinformation[] coachnumberstring 16 optional identifier assigned to each individual carriage e g , b4 itineraryinformation[] seatclassstring 32 conditional seat class * required if subtype is etickets itineraryinformation[] seatnumberstring 16 optional individual number of the passenger seat e g , a-9, free itineraryinformation[] seatfacingstring 16 optional direction in which the seat is oriented within a carriage it indicates whether the seat is positioned to face the direction of travel or face the opposite direction e g , forward, backward itineraryinformation[] baggageallowancestring 20 optional baggage allowance itineraryinformation[] flighttimestring 8 optional the time required for a flight itineraryinformation[] checkinlinkstring 256 optional link to check in itineraryinformation[] usertypestring 32 optional passenger typei e , classification of passengers like child, adult example { "itineraryinformation" [ { "id" "itineraryid", "order" 1, "departure" { "name" "departurename", "code" "departurecode", "platform" "departureplatform", "time" 1749624040000, "utcoffset" "utc+09 00" }, "arrival" { "name" "arrivalname", "code" "arrivalcode", "platform" "arrivalplatform", "time" 1749624040000, "utcoffset" "utc+09 00" }, "vehiclenumber" "vehiclenumber", "coachnumber" "coachnumber", "seatclass" "seatclass", "seatnumber" "seatnumber", "seatfacing" "seatfacing", "usertype" "usertype" } ] } issurance status json format value description issurancestatus[] ticketnumberstring 256 optional ticket number issurancestatus[] downloadlinkstring 32 optional link to check the ticket itineraryinformation[] usertypestring 32 required passenger type i e , classification of passengers like child, adult example { "card" { "type" "reservation", "subtype" "etickets", "data" [ { "refid" " etickets -001", "createdat" 1658385817000, "updatedat " 1658385817000, "language" "en", "attributes" { "title" "samsung air", "groupingid" "group-001", "applinklogo" "https // /applinklogo png", "applinkname" "samsung air ", "applinkdata" "https //www oohotel com", "mainimg" "https // /logo png", "logoimage" "https // /main png", "logoimage darkurl" "https // /logo png", "logoimage lighturl" "https // /logo png", "bgcolor" "#00ffff", "fontcolor" "#00ffff", "blinkcolor" "#00ffff", "providername" "oo airline", "csinfo" "{\"call\" \"555} 123-4567\", \"email\" \"cs@email com\", \"website\" \"https //homepage com/cs\"}", "startdate" 1735041600000, "startdate zoneid" "asia/seoul", "enddate" 1735675200000, "enddate zoneid" "asia/seoul", "noticedesc" "{\"count\" 2,\"info\" [{\"title\" \"notice 2\",\"content\" [\"description 1\",\"description 2\"]},{\"title\" \"notice 2\",\"content\" [\"description 1\"]}]}", "agentname" "lee", "agentcontactnumber" "03111112222", "reservationnumber" "r123", "firstname" "samsung", "lastname" "kim", "membership" "[\"membership1\",\"membership2\"]", "organization" "samsung eletronics", "itineraryinformationlist" [ { "providername" "samsungairline", "providerlogo" "https // logo png", "providerlogo darkurl" "https // logo png", "providerlogo lighturl" "https // logo png", "departure" { "name" "seoul", "code" "icn", "airport" "incheonintlairport", "terminal" "terminal2", "time" "1735041600000", "utcoffset" "utc+9" }, "arrival" { "name" "sanfrancisco", "code" "sfo", "airport" "sanfranciscointlairport", "terminal" "terminal1", "time" "1735081200000", "utcoffset" "utc+9" }, "boardingtime" "1735038000000", "vehiclenumber" "se123", "seatclass" "economyplus", "baggageallowance" "15kg", "flighttime" "10h25m", "checkinlink" "http //~~" }, { "providername" "samsungairline", "providerlogo" "https // logo png", "providerlogo darkurl" "https // logo png", "providerlogo lighturl" "https // logo png", "departure" { "name" "sanfrancisco", "code" "sfo", "airport" "sanfranciscointlairport", "terminal" "terminal1", "time" "1735635600000", "utcoffset" "utc+9" }, "arrival" { "name" "seoul", "code" "icn", "airport" "incheonintlairport", "terminal" "terminal2", "time" "1735675200000", "utcoffset" "utc+9" }, "boardingtime" "1735632000000", "vehiclenumber" "se123", "seatclass" "economyplus", "baggageallowance" "15kg", "flighttime" "10h25m", "checkinlink" "http //~~" } ], "itinerary" "seoul icn -sanfrancisco, ca sfo sanfrancisco, ca sfo -seoul icn ", "passengernamerecord" "6ddrze", "issurancestatus" "[{\"ticketnumber\" \"a-9303123959\",\"downloadlink\" \"http //~~~\"},{\"ticketnumber\" \"b-9303123959\",\"downloadlink\" \"http //~~~\"}]" } } ] } } card art guide loyalty type bgimage + bgcolor bgimage only description display the bgimage and the bgcolor in a predefined ratio display bgimage fully example
Develop Samsung Wallet
docreservationnumberstring 32 required reservation number userstring 64 optional name of person who made the reservation certification string 16 optional ticket certification e g ,r, as a film rating reactivatableynstring 1 optional flag whether the card is able to activate an expired ticket temporarily either 'y' or 'n' * default 'n' preventcaptureyn string 1 optional flag whether this wallet card view prevents screen capture either 'y' or 'n'* default 'n' nonetworksupportyn string 1 optional set whether to support to open the wallet card under 'no network' status either 'y' or 'n' * default 'n' displayredeembuttonyn string 1 optional sets whether to support to show redeem button either 'y' or 'n' * default 'n' startdate long 13 required start date displayed start date epoch timestamp in milliseconds startdate utcoffset string 8 optional utc offset of start date time at the event location enddate long 13 optional end date displayed end date epoch timestamp in milliseconds * if null, the card will expire in 10 hours from startdate enddate utcoffsetstring 8 optional utc offset of start date time at the event location person1 string 512 optional number of persons by category * see classification format locationsstring 1024 optional list of locations where the card can be used * see location format noticedesc string 5000 required text of the notice * long content is allowed * html supported * see additional information format extendedfieldsstring 1024 optional a flexible list of key-value pairs * see extended fields groupinfo1 deprecated string 64 optional the first common information with the same groupingid groupinfo2 deprecated string 64 optional the second common information with the same groupingid *it is recommended to set groupinfo1 first groupinfo3 deprecated string 64 optional the third common information with the same 'groupingid' *it is recommended to set groupinfo1, groupinfo2 first csinfostring 4096 optional providers’ customer service informationusing data in json format converted to escape string * allowed items call, email, website, facebook, youtube, or instagram* see the example below privacymodeynstring 1 optional whether or not to require user authentication when using the cardeither ‘y’ or ‘n’* default ‘n’ applinklogo string 256 required app link image url the file size should not exceed 256 kb applinknamestring 32 required app link name applinkdatastring 256 required information about the partner app link bgcolor string 8 optional color of the card art e g , #00ffff fontcolor string 8 optional color of the font on the card art acceptable values dark, light blinkcolorstring 8 optional color of the blinking effect in the indicator areae g , #00ffff providerviewlinkobject array 4096 optional a list of links that allow a content provider to expose additional information or related actions to the user up to 5 links are supported * see links barcode value string 4096 optional actual data that is delivered when the barcode/qr code is scanned barcode serialtype string 32 optional presentation type e g , serialnumber, barcode * see barcode & qr code presentation barcode ptformat string 32 optional presentation format e g , barcode, qrcode, serial * see barcode & qr code presentation barcode ptsubformat string 32 optional presentation sub-format e g , code_128, qr_code * see barcode & qr code presentation barcode errorcorrectionlevel string 4 optional amount of redundancy or error correction data included in the code there are four error correction levels available in qr codes * code options l/m/q/h barcode intervalstring 4 optional update interval if support for dynamic updatesepoch timestamp in milliseconds selectoridstring 8 optional when samsung app-resident nfc is supported, it refers to the identifier issued during wallet card settings when using the card's nfc function, the terminal can transmit selectorid to the user's device upon receiving selectorid, the device can identify the benefit service and perform additional actions accordingly * refer to access integration guide samsung approval required contact technical support provision data string 512 optional elements to complete provisioning* refer to access integration guide samsung approval required contact technical support provision interval string 16 optional update interval if support for dynamic updates epoch timestamp in milliseconds * refer to access integration guide samsung approval required contact technical support relcoupon{i} title string 32 conditional coupon title * required if this ticket has a related couponi 1~3 relcoupon{i} subtitle string 32 optional coupon subtitlei 1~3 relcoupon{i} providername string 32 conditional coupon provider name * required if this ticket has a related coupon i 1~3 relcoupon{i} imagefilesrc string 256 optional coupon image url the file size should not exceed 256 kb i 1~3 relcoupon{i} noticedescription string 1024 optional text of the notice * long content is allowed * see additional information format i 1~3 relcoupon{i} notificationtime long 13 optional coupon exposure time epoch timestamp in milliseconds i 1~3 relcoupon{i} value string 4096 conditional actual data that is delivered when the barcode/qr code is scanned i 1~3 relcoupon{i} serialtype string 32 required presentation typee g , serialnumber, barcode, * see barcode & qr code presentation i 1~3 relcoupon{i} ptformatstring 32 conditional presentation formate g , barcode, qrcode, serial, * see barcode & qr code presentation i 1~3 relcoupon{i} ptsubformat string 32 conditional presentation sub-formate g , code_128, qr_code, * see barcode & qr code presentation i 1~3 relcoupon{i} errorcorrectionlevel string 4 optional amount of redundancy or error correction data included in the code there are four error correction levels available in qr codes - code options l/m/q/h i 1~3 example { "card" { "type" "ticket", "subtype" "entrances", "data" [ { "refid" "ent-ticket-0613001", "createdat" 1686657600000, "updatedat" 1686657600000, "language" "en", "attributes" { "title" "galaxy land entrance ticket", "subtitle1" "standard", "classification" "annual", "groupingid" "group-0613001", "orderid" "ent-0613001", "mainimg" "https // /main png", "logoimage" "https // /logo png", "providername" "galaxy entertainment", "logoimage darkurl" "https // /logo-dark png", "issuedate" 1686657600000, "reservationnumber" "glx-0613-001", "startdate" 1686657600000, "enddate" 1718280000000, "holdername" "kim eunha", "idphoto data" "base64-encoded{image-file-data}", "idphoto format" "png", "grade" "family", "person1" "{\"person\" [{\"category\" \"adult\", \"count\" 1 }]}", "locations" "[{\"lat\" 37 256518, \"lng\" 127 053516, \"address\" \"samsung-ro yeongtong-gu, suwon\", \"name\" \"galaxy land central park\"}]", "noticedesc" "{\"count\" 2,\"info\" [{\"title\" \"notice 1\",\"content\" [\"description 1-1\",\"description 1-2\"]},{\"title\" \"notice 2\",\"content\" [\"description 2-1\"]}]}", "groupinfo1" "adult 1", "groupinfo2" "standard", "groupinfo3" "family", "csinfo" "{\"call\" \"0000-0000\",\"email\" \"samsungwallet@samsungwallet com\",\"website\" \"https //www samsungwallet com/cs/\",\"instagram\" \"https //www instagram com/samsungwallet\",\"youtube\" \"https //www youtube com/@samsungwallet\",\"facebook\" \"https //www facebook com/samsungwallet\" }", "applinkname" "galaxy ticket", "applinklogo" "https // /applinklogo png", "applinkdata" "https //www applinkdata com", "bgcolor" "#e86d1f", "fontcolor" "light", "blinkcolor" "#e86d1f", "barcode value" "serial-0613-001", "barcode serialtype" "qrcode", "barcode ptformat" "qrcodeserial", "barcode ptsubformat" "qr_code" }, "localization" [ { "language" "ko", "attributes" { "title" "갤럭시 랜드 입장권", "holdername" "김은하", "person1" "{\"person\" [{\"category\" \"어른\", \"count\" 1 }]}", "locations" "[{\"lat\" 37 256518, \"lng\" 127 053516, \"address\" \"samsung-ro yeongtong-gu, suwon\", \"name\" \"갤럭시 랜드 센트럴 파크\"}]", "noticedesc" "{\"count\" 2,\"info\" [{\"title\" \"공지사항 1\",\"content\" [\"설명 1-1\",\"설명 1-2\"]},{\"title\" \"공지사항 2\",\"content\" [\"설명 2-1\"]}]}", "groupinfo1" "어른 1" } } ] } ] } { "count" 2, "info" [ { "title" "<b>this is bold text</b> <font color='red'>this is red text</font> <a href='https //www example com'>this is a link</a>", "content" [ "1 wear a mask", "2 temperature check before entering the theater", "3 electronic entry registration for all customers using the performance", "please cooperate even if it takes some time before entering ", "we kindly ask for your cooperation " ] }, { "title" "[parking information]", "content" [ "<b>this is bold text</b> <font color='red'>this is red text</font> <a href='https //www example com'>this is a link</a>" ] } ] } }
Develop Smart TV
apitizen tv web device api reference the tizen web device api, based on javascript, provides you advanced access to the device's platform capabilities you can develop rich web applications using the tizen web device apis you can, for example, control the application life-cycle, manage your schedules, exchange data, or make payments using nfc the apis listed in this category are created by the tizen platform to expose device capabilities to web applications warning some apis, such as tvaudiocontrol api, may not run on a device whose tv model group does not support muting or tv channel source base api description version since tv supported on emulator archive this api provides interfaces and methods to create an archive file as well as various other kinds of manipulation e g extract files, add a file to an archive file 2 3 mandatory yes filesystem this api provides access to the file system of a device this api might be obsolete in the future when w3c file apis are extended to access system-sensitive files by web applications 1 0 mandatory yes tizen the base object for accessing the tizen web device api 1 0 mandatory yes table 1 base apis account api description version since tv supported on emulator account this api provides interfaces and methods for managing accounts e g create an account, change the account information 5 0 optional yes table 2 account apis application framework api description version since tv supported on emulator alarm this api provides functionality for setting and unsetting alarms 1 0 mandatory yes application this api provides information about running and installed applications and controls them 1 0 mandatory yes data control this api provides interfaces and methods for accessing specific data exported by other applications 2 4 mandatory yes message port this api provides the functionality for communication with other applications 2 1 mandatory yes package this api provides information install/uninstall package and get information about installed packages 2 1 mandatory yes table 3 application framework apis content api description version since tv supported on emulator content this api provides functionality to discover multimedia content such as images, videos or music 2 0 mandatory yes download this api provides interfaces and methods for downloading remote objects by http request 2 0 optional yes table 4 content apis machine learning api description version since tv supported on emulator machine learning this api provides functions for machine learning features that help you to handle neural network frameworks 6 5 mandatory yes single this api provides functionality for a simple usage scenario of neural network models 6 5 mandatory yes pipeline this api provides functionality for managing machine learning inference pipelines 6 5 mandatory yes trainer this api provides functionality for creating, controlling, and training a machine learning model 7 0 mandatory yes table 5 machine learning apis messaging api description version since tv supported on emulator push this api provides the functionality for receiving push notifications 3 0 optional yes table 6 messaging apis multimedia api description version since tv supported on emulator exif this api provides interfaces and methods for manipulating exif data from jpeg file 2 3 mandatory yes media controller this api provides functions for communication between the media controller server and the media controller client 5 0 optional yes metadata this api provides interfaces and methods for extracting metadata information from a media file 6 0 mandatory yes table 7 multimedia apis network api description version since tv supported on emulator bluetooth this api enables control over bluetooth 6 0 optional no table 8 network apis security api description version since tv supported on emulator keymanager this api provides interfaces and methods for a secure repository for storing, retrieving and removing the sensitive data of users and their applications 2 4 mandatory yes table 9 security apis system api description version since tv supported on emulator system information this api provides information about the device's display, network, storage and other capabilities getting device capabilities using systeminfo api 1 0 mandatory yes time this api exposes information about date, time and time zones 1 0 mandatory yes web setting this api manages the setting states of the web view in web applications 2 2 mandatory yes table 10 system apis uix api description version since tv supported on emulator voice control this api provides functions for users to set voice commands and to control the web application through their voices 4 0 mandatory yes table 11 uix apis tv controls api description version since tv supported on emulator tv audio control this api provides interfaces and methods for control of tv audio 2 3 optional no tv display control this api provides interfaces and methods to get information about the effects of stereoscopy 3d mode 2 3 optional no tv information this api provides interfaces and methods to get information about the tv settings 2 4 optional no tv input device this api allows to receive the key events generated from an input device for example, when a user presses a key of the tv remote control 2 3 optional yes tv window this api provides interfaces and methods to control the tv window for example, the main window and pip window 2 3 optional no table 12 tv controls apis deprecated api api description version since deprecated since tv supported on emulator iotcon this api provides functions for iot internet of things connectivity 3 0 10 0 optional yes libteec this api provides interfaces and methods for a trustzone 4 0 6 5 mandatory yes table 13 deprecated apis note the tvinfo api of samsung product apis is more detailed than the tvinfo api of tizen web device apis when getting information about tv setting, refer to the samsung product api, tvinfo api samsung display devices like tv and hospitality display do not support the push api of messaging category among tizen web device apis for tv profile except as noted, this content - excluding the code examples - is licensed under creative commons attribution 3 0 and all of the code examples contained herein are licensed under bsd-3-clause for details, see the content license copyright © 2024 samsung all rights reserved
Develop Smart Signage
apitizen tv web device api reference the tizen web device api, based on javascript, provides you advanced access to the device's platform capabilities you can develop rich web applications using the tizen web device apis you can, for example, control the application life-cycle, manage your schedules, exchange data, or make payments using nfc the apis listed in this category are created by the tizen platform to expose device capabilities to web applications warning some apis, such as tvaudiocontrol api, may not run on a device whose tv model group does not support muting or tv channel source base api description version since tv supported on emulator archive this api provides interfaces and methods to create an archive file as well as various other kinds of manipulation e g extract files, add a file to an archive file 2 3 mandatory yes filesystem this api provides access to the file system of a device this api might be obsolete in the future when w3c file apis are extended to access system-sensitive files by web applications 1 0 mandatory yes tizen the base object for accessing the tizen web device api 1 0 mandatory yes table 1 base apis account api description version since tv supported on emulator account this api provides interfaces and methods for managing accounts e g create an account, change the account information 5 0 optional yes table 2 account apis application framework api description version since tv supported on emulator alarm this api provides functionality for setting and unsetting alarms 1 0 mandatory yes application this api provides information about running and installed applications and controls them 1 0 mandatory yes data control this api provides interfaces and methods for accessing specific data exported by other applications 2 4 mandatory yes message port this api provides the functionality for communication with other applications 2 1 mandatory yes package this api provides information install/uninstall package and get information about installed packages 2 1 mandatory yes table 3 application framework apis content api description version since tv supported on emulator content this api provides functionality to discover multimedia content such as images, videos or music 2 0 mandatory yes download this api provides interfaces and methods for downloading remote objects by http request 2 0 optional yes table 4 content apis machine learning api description version since tv supported on emulator machine learning this api provides functions for machine learning features that help you to handle neural network frameworks 6 5 mandatory yes single this api provides functionality for a simple usage scenario of neural network models 6 5 mandatory yes pipeline this api provides functionality for managing machine learning inference pipelines 6 5 mandatory yes trainer this api provides functionality for creating, controlling, and training a machine learning model 7 0 mandatory yes table 5 machine learning apis messaging api description version since tv supported on emulator push this api provides the functionality for receiving push notifications 3 0 optional yes table 6 messaging apis multimedia api description version since tv supported on emulator exif this api provides interfaces and methods for manipulating exif data from jpeg file 2 3 mandatory yes media controller this api provides functions for communication between the media controller server and the media controller client 5 0 optional yes metadata this api provides interfaces and methods for extracting metadata information from a media file 6 0 mandatory yes table 7 multimedia apis network api description version since tv supported on emulator bluetooth this api enables control over bluetooth 6 0 optional no table 8 network apis security api description version since tv supported on emulator keymanager this api provides interfaces and methods for a secure repository for storing, retrieving and removing the sensitive data of users and their applications 2 4 mandatory yes table 9 security apis system api description version since tv supported on emulator system information this api provides information about the device's display, network, storage and other capabilities getting device capabilities using systeminfo api 1 0 mandatory yes time this api exposes information about date, time and time zones 1 0 mandatory yes web setting this api manages the setting states of the web view in web applications 2 2 mandatory yes table 10 system apis uix api description version since tv supported on emulator voice control this api provides functions for users to set voice commands and to control the web application through their voices 4 0 mandatory yes table 11 uix apis tv controls api description version since tv supported on emulator tv audio control this api provides interfaces and methods for control of tv audio 2 3 optional no tv display control this api provides interfaces and methods to get information about the effects of stereoscopy 3d mode 2 3 optional no tv information this api provides interfaces and methods to get information about the tv settings 2 4 optional no tv input device this api allows to receive the key events generated from an input device for example, when a user presses a key of the tv remote control 2 3 optional yes tv window this api provides interfaces and methods to control the tv window for example, the main window and pip window 2 3 optional no table 12 tv controls apis deprecated api api description version since deprecated since tv supported on emulator iotcon this api provides functions for iot internet of things connectivity 3 0 10 0 optional yes libteec this api provides interfaces and methods for a trustzone 4 0 6 5 mandatory yes table 13 deprecated apis note the tvinfo api of samsung product apis is more detailed than the tvinfo api of tizen web device apis when getting information about tv setting, refer to the samsung product api, tvinfo api samsung display devices like tv and hospitality display do not support the push api of messaging category among tizen web device apis for tv profile except as noted, this content - excluding the code examples - is licensed under creative commons attribution 3 0 and all of the code examples contained herein are licensed under bsd-3-clause for details, see the content license copyright © 2024 samsung all rights reserved
Develop Smart Hospitality Display
apitizen tv web device api reference the tizen web device api, based on javascript, provides you advanced access to the device's platform capabilities you can develop rich web applications using the tizen web device apis you can, for example, control the application life-cycle, manage your schedules, exchange data, or make payments using nfc the apis listed in this category are created by the tizen platform to expose device capabilities to web applications warning some apis, such as tvaudiocontrol api, may not run on a device whose tv model group does not support muting or tv channel source base api description version since tv supported on emulator archive this api provides interfaces and methods to create an archive file as well as various other kinds of manipulation e g extract files, add a file to an archive file 2 3 mandatory yes filesystem this api provides access to the file system of a device this api might be obsolete in the future when w3c file apis are extended to access system-sensitive files by web applications 1 0 mandatory yes tizen the base object for accessing the tizen web device api 1 0 mandatory yes table 1 base apis account api description version since tv supported on emulator account this api provides interfaces and methods for managing accounts e g create an account, change the account information 5 0 optional yes table 2 account apis application framework api description version since tv supported on emulator alarm this api provides functionality for setting and unsetting alarms 1 0 mandatory yes application this api provides information about running and installed applications and controls them 1 0 mandatory yes data control this api provides interfaces and methods for accessing specific data exported by other applications 2 4 mandatory yes message port this api provides the functionality for communication with other applications 2 1 mandatory yes package this api provides information install/uninstall package and get information about installed packages 2 1 mandatory yes table 3 application framework apis content api description version since tv supported on emulator content this api provides functionality to discover multimedia content such as images, videos or music 2 0 mandatory yes download this api provides interfaces and methods for downloading remote objects by http request 2 0 optional yes table 4 content apis machine learning api description version since tv supported on emulator machine learning this api provides functions for machine learning features that help you to handle neural network frameworks 6 5 mandatory yes single this api provides functionality for a simple usage scenario of neural network models 6 5 mandatory yes pipeline this api provides functionality for managing machine learning inference pipelines 6 5 mandatory yes trainer this api provides functionality for creating, controlling, and training a machine learning model 7 0 mandatory yes table 5 machine learning apis messaging api description version since tv supported on emulator push this api provides the functionality for receiving push notifications 3 0 optional yes table 6 messaging apis multimedia api description version since tv supported on emulator exif this api provides interfaces and methods for manipulating exif data from jpeg file 2 3 mandatory yes media controller this api provides functions for communication between the media controller server and the media controller client 5 0 optional yes metadata this api provides interfaces and methods for extracting metadata information from a media file 6 0 mandatory yes table 7 multimedia apis network api description version since tv supported on emulator bluetooth this api enables control over bluetooth 6 0 optional no table 8 network apis security api description version since tv supported on emulator keymanager this api provides interfaces and methods for a secure repository for storing, retrieving and removing the sensitive data of users and their applications 2 4 mandatory yes table 9 security apis system api description version since tv supported on emulator system information this api provides information about the device's display, network, storage and other capabilities getting device capabilities using systeminfo api 1 0 mandatory yes time this api exposes information about date, time and time zones 1 0 mandatory yes web setting this api manages the setting states of the web view in web applications 2 2 mandatory yes table 10 system apis uix api description version since tv supported on emulator voice control this api provides functions for users to set voice commands and to control the web application through their voices 4 0 mandatory yes table 11 uix apis tv controls api description version since tv supported on emulator tv audio control this api provides interfaces and methods for control of tv audio 2 3 optional no tv display control this api provides interfaces and methods to get information about the effects of stereoscopy 3d mode 2 3 optional no tv information this api provides interfaces and methods to get information about the tv settings 2 4 optional no tv input device this api allows to receive the key events generated from an input device for example, when a user presses a key of the tv remote control 2 3 optional yes tv window this api provides interfaces and methods to control the tv window for example, the main window and pip window 2 3 optional no table 12 tv controls apis deprecated api api description version since deprecated since tv supported on emulator iotcon this api provides functions for iot internet of things connectivity 3 0 10 0 optional yes libteec this api provides interfaces and methods for a trustzone 4 0 6 5 mandatory yes table 13 deprecated apis note the tvinfo api of samsung product apis is more detailed than the tvinfo api of tizen web device apis when getting information about tv setting, refer to the samsung product api, tvinfo api samsung display devices like tv and hospitality display do not support the push api of messaging category among tizen web device apis for tv profile except as noted, this content - excluding the code examples - is licensed under creative commons attribution 3 0 and all of the code examples contained herein are licensed under bsd-3-clause for details, see the content license copyright © 2024 samsung all rights reserved
Develop Samsung Wallet
docreservation rentalcars, restaurants, accommodations, etickets, taxis, activities, others transitcard others clip businesstrips, trips, others wallet card templates attributes type value description payload cardtemplateobject required wallet card template object cardtemplate titlestring 32 conditional wallet card name* required when adding wallet card template cardtemplate countrycodestring 2 conditional the main headquarters location * required when adding wallet card template cardtemplate cardtypestring 100 conditional this value is set to cardtype * required when adding wallet card template cardtemplate subtypestring 100 conditional this value is set to subtype * required when adding wallet card template cardtemplate designtypestring 100 optional the value that definesthe design type of the wallet card * for generic templates i e , when cardtype is set to generic , set designtype to one of the following values "generic 01", "generic 02", or "generic 03" * default "generic 01" cardtemplate prtnrapppckgnamestring 128 optional the application package name cardtemplate applogoimgstring 200 optional the banner logo image url cardtemplate nonetworksupportynstring 1 optional this must be set to either 'y' or 'n' * default 'n' cardtemplate sharebuttonexposureynstring 1 optional this must be set to either 'y' or 'n' * default 'y' cardtemplate privacymodeynstring 1 optional this must be set to either 'y' or 'n' * default 'n' cardtemplate preventcaptureynstring 1 optional this value is a screen capture prevention flag that defines whether the content view prevents screen capture cardtemplate sharebuttonexposureynstring 1 optional this must be set to either 'y' or 'n' * default 'y' cardtemplate prtnrcarddatastring 1000 optional [get card data] partner url check the url format below and implement the api according to the url refer to get card data for instance, you can use https //{yourdomain} cardtemplate prtnrcardstatestring 1000 optional [get card state] partner url check the url format below and implement api according to url refer to send card state send card event for instance, you can use https //{yourdomain} cardtemplate statestring 15 optional wallet card's state* default 'verifying'a card is always created in the verifying state; this field cannot be set at creation time use this field in the update api to change the state to active only the verifying → active transition is supported cardtemplate testingmodeoffstring 1 optional testmode off this must be set to either 'y' or 'n' * default ‘n’ * available only when updating templates cardtemplate saveinserverynstring 2 optional this must be set to either 'y' or 'n' * default 'y' cardtemplate categorystring 20 optional select from the following values “parking_pass”, “membership”, “reservations”, “insurance”, “health”, “receipt”, “coupon_stamp”, “note”, “photo”, and “others” * this field is applicable only to generic card templates i e , when cardtype is set to generic cardtemplate descstring 500 optional description cardtemplate layoutobject optional defines presentation rules for card data in samsung wallet this field is applicable only when the designtype is set to generic-{subtype}-default for detailed specifications, see the section layout specs examples boarding pass { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551312", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "boardingpass", "subtype" "airlines", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "y", "privacymodeyn" "n", "preventcaptureyn" "n" } } event ticket { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551314", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "ticket", "subtype" "entrances", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "n", "privacymodeyn" "n", "preventcaptureyn" "n" } } coupon { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551313", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "coupon", "subtype" "others", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "y", "privacymodeyn" "n", "preventcaptureyn" "n", } } gift card { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551315", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "gift", "subtype" "others", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "y", "privacymodeyn" "n", "preventcaptureyn" "n", } } loyalty { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551316", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "loyalty", "subtype" "others", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "n", "privacymodeyn" "n", "preventcaptureyn" "n" } } digital id { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551317", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "idcard", "subtype" "employees", "applogoimg" "http //www yourdomain com/banner_logo_image png", "saveinserveryn" "y", "nonetworksupportyn" "n", "sharebuttonexposureyn" "y", "privacymodeyn" "n", "preventcaptureyn" "n" } } pay as you go { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551318", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "payasyougo", "subtype" "evcharges", "applogoimg" "http //www yourdomain com/banner_logo_image png", "nonetworksupportyn" "n", "sharebuttonexposureyn" "y", "privacymodeyn" "n", "preventcaptureyn" "n" } } generic card { "cardtemplate" { "prtnrid" "4082825513190138240", "templaterefid" "2138240408282551319", "title" "wallet card title", "prtnrapppckgname" "prtnrapppckgname", "countrycode" "us", "desc" "desc", "cardtype" "generic", "subtype" "others", "applogoimg" "http //www yourdomain com/banner_logo_image png", "designtype" "generic 02", "nonetworksupportyn" "n", "category" "membership", "privacymodeyn" "n", "preventcaptureyn" "n" } } layout specs this document provides detailed specifications for the layout field used when adding wallet card templates through the card management api it is intended to be referenced from the layout field description in the adding wallet card template overview this section describes the specification of the layout field used when adding wallet card template the layout object defines presentation rules for card data in samsung wallet it does not contain display values directly instead, it references card data using attribute keys layout object structure the layout object consists of three sections header primary auxiliary each section defines a layout preset and a list of entry mappings type value description layout object layoutobject optional defines presentation rules for card data in samsung wallet layout headerobject required defines the header area of the card layout header presetstring 10 required header layout preset allowed values logo, logotext, text layout header entries[]array of object required list of entry mappings that define how header ui slots reference card data layout header entries[] entrynamestring 100 required identifier of the ui slot format {role}_{index} e g , image_01, field_01, subfield_01 layout header entries[] entrykeystring 100 required attribute key used to retrieve the corresponding data value layout primaryobject required defines the primary content area of the card layout primary presetstring 20 required primary layout preset generic cards landscape, square, vertical, textonlyboarding pass threefields, fourfields, fivefields layout primary entries[]array of object required list of entry mappings that define how primary ui slots reference card data layout primary entries[] entrynamestring 100 required identifier of the ui slot format {role}_{index} e g , image_01, field_01, subfield_01 layout primary entries[] entrykeystring 100 required attribute key used to retrieve the corresponding data value layout primary useboardingtimeboolean optional controls which time is displayed on the boarding pass card - false default displays the departure time- true displays the boarding start timeapplies only when cardtype = boardingpass layout auxiliaryobject required defines additional information displayed when the card is expanded layout auxiliary presetstring 20 optional defines the number of fields to be displayed allowed values twofields, threefields, fourfields layout auxiliary entries[]array of object required ordered list of fields rendered as label–value pairs each value is an attribute key layout auxiliary entries[] entrynamestring 100 required identifier of the ui slot format {role}_{index} e g , image_01, field_01, subfield_01 layout auxiliary entries[] entrykeystring 100 required attribute key used to retrieve the corresponding data value example { "layout" { "header" { “preset” "logotext", "entries" [ { "entryname" "image_01", "entrykey" "providerlogo" }, { "entryname" "field_01", "entrykey" "providername" }, { "entryname" "subfield_01", "entrykey" "vehiclenumber" } ] }, "primary" { “preset” "square", "entries" [ { "entryname" "image_01", "entrykey" "wideimage" }, { "entryname" "field_01", "entrykey" "grade" }, { "entryname" "field_02", "entrykey" "seatclass" } ] }, "auxiliary" { “preset” "twofields", "entries" [ { "entryname" "field_01", "entrykey" "entrance" }, { "entryname" "field_02", "entrykey" "seatnumber" } ] } } } header – required entryname by preset preset required entryname description logo image_01, subfield_01 logo image with secondary text logotext image_01, field_01, subfield_01 logo image with primary and secondary text text field_01, subfield_01 primary and secondary text without image primary – required entryname by preset preset required entryname description landscape image_01 landscape image only square image_01, field_01, field_02 square image with two text fields vertical image_01, field_01, field_02 vertical image with two text fields textonly field_01 single text field without image primary / auxiliary – field-based presets preset required entryname description twofields field_01, field_02 displays two label–value pairs threefields field_01, field_02, field_03 displays three label–value pairs fourfields field_01, field_02, field_03, field_04 displays four label–value pairs fivefields field_01, field_02, field_03, field_04, field_05 displays five label–value pairs allowed where applicable data mapping layout → card data the layout object does not contain display values each field defined in layout references card data using an attribute key this section describes how attribute keys are resolved data resolution rule when a field is defined in layout, the value is resolved from the following locations in order card data[] attributes card data[] attributes extendedfields[] entrykey standard attribute mapping if the entrykey defined in layout matches a field inside card data[] attributes the value is resolved directly from that attribute example layout … "primary" { … “preset” "square", "entries" [ { "entryname" "field_01", "entrykey" "providername " }, … } … example card data[] "attributes" { … "providername" "samsung wallet" … } extended fields mapping in addition to predefined attributes, layout fields may reference values inside extendedfields extendedfields is a user-defined data container that allows partners to define additional fields not included in the standard card specification extendedfields structure { "card" { "data" [ { … "attributes" { … "extendedfields" [ { "label" "gate", "value" "a12", "entrykey" "gatenumber" }, { "label" "zone", "value" "3", "entrykey" "boardingzone" } ] } } ] } } extendedfields resolution logic if the layout field key does not exist in predefined attributes the system searches attributes extendedfields[] entrykey when a matching entrykey is found value → resolved from extendedfields[] value label → resolved from extendedfields[] label example layout referencing extendedfields … "auxiliary" { “preset” "twofields", "entries" [ { "entryname" "field_01", "entrykey" "gatenumber" }, { "entryname" "field_02", "entrykey" "boardingzone" } ] } … result • gatenumber → value "a12", label "gate" • boardingzone → value "3", label "zone" mapping priority if the same key exists in both • predefined attributes • extendedfields the resolution priority is • attributes predefined fields • extendedfields summary • layout fields reference data by attribute key • standard attributes are resolved first • extendedfields enables user-defined data expansion • layout does not directly contain display value
SDP DevOps
docsamsung developers privacy policy samsung electronics co , ltd “samsung”, “we”, “us”, “our” knows how important privacy is to its customers and their employees and partners, and we strive to be clear about how we collect, use, disclose, transfer and store your information this privacy policy provides an overview of our information practices with respect to personal information collected through [ samsung developers ] or other services that link or refer to this privacy policy collectively, the "business services" it is important that you check back often for updates to the privacy policy if we update the privacy policy and you use our business services after the update, you consent to the new practice s identified in the update, although we also may let you know about changes we consider to be material by placing a notice on this website or related online services you can check the “effective date” posted at the top to see when the privacy policy was last updated download what information do we collect about you? we may collect various types of personal information in connection with the business services for example we may collect personal information that you provide, such as your name, address, e-mail address and contact details, job title and position, company, language, registration details, and any communications you send or deliver to us; we may collect data about your use of the business services, including the time and duration of your use; information stored in cookies that we have set on your device; and information about your device settings; we may collect information about the products and services you or your employer have bought or received and payment data and other information provided in connection with a transaction; we also may receive personal information about you from your employer or service provider or from publicly and commercially available sources as permitted by law , which we may combine with other information we receive from or about you we may collect information about your company name, company address, company phone number, service concept that your company have been developing and portfolio how do we use your information? we may use information we collect for the following purposes to provide products and services that you or your employer requested and to register or authenticate you or your device; to respond to your questions or requests for information; to offer better and more customized products and services that take into account your company’s purchasing history and service record and other relevant information; subject to your consent where required by applicable law, to inform you about new products and services; for assessment and analysis of our market, customers, products, and services including asking you for your opinions on our products and services and carrying out customer surveys ; to understand the way companies use the business services so that we can improve them and develop new products and services; to provide maintenance services and to maintain a sufficient level of security on the business services; to protect the rights, property, or safety of samsung, or any of our respective affiliates, business partners, employees or customers, for example, in legal proceedings, internal investigations and investigations by competent authorities; otherwise with your consent or as described to at the time your information is collected to whom do we disclose your information? we do not disclose your information to third parties for their own independent marketing or business purposes without your consent but we may share your information with the following entities samsung affiliates; third parties when necessary to provide you with requested products and services for example, we may disclose your payment data to financial institutions as appropriate to process transactions that you have requested; companies that provide services for or on behalf of us, such as companies that help us with the billing process; other parties i to comply with the law or respond to compulsory legal process such as a search warrant or other court order ; ii to verify or enforce compliance with the policies governing our business services; iii to protect the rights, property, or safety of samsung, or any of our respective affiliates, business partners, or customers; iv as part of a merger or transfer, or in the event of a bankruptcy; with other third parties when you consent to or request such sharing submissions that you make to public areas of a website, mobile application, or other online service, such as bulletin boards may be viewable to other users of the business services we do not control, and are not responsible for, how other users of the business services may use this information for example, personal information that you submit in public areas could be collected and used by others to send you unsolicited messages or for other purposes what do we do to keep your information secure? we have put in place reasonable physical and technical measures to safeguard the information we collect in connection with the business services however, please note that although we take reasonable steps to protect your information, no website, internet transmission, computer system or wireless connection is completely secure where do we transfer your information? your use or participation in the business services may involve transfer, storage and processing of your information outside of your country of residence, consistent with this policy please note that the data protection and other laws of countries to which your information may be transferred might not be as comprehensive as those in your country we will take appropriate measures, in compliance with applicable law, to ensure that your personal information remains protected can you access your information? under the laws of some jurisdictions, you may have the right to request details about the information we collect about you and to correct inaccuracies in that information we may decline to process requests that are unreasonably repetitive, require disproportionate technical effort, jeopardize the privacy of others, are extremely impractical, or for which access is not otherwise required by local law if you would like to make a request to access your information, please contact our customer service department at support@samsungdevelopers com if you request deletion of personal information, you acknowledge that you may not be able to access or use the business services and that residual personal information may continue to reside in samsung's records and archives for some time, but samsung will not use that information for commercial purposes you understand that, despite your request for deletion, samsung reserves the right to keep your personal information, or a relevant part of it, if samsung has suspended, limited, or terminated your access to the website for violating the samsung terms of use, when necessary to protect the rights, property, or safety of samsung, or any of our respective affiliates, business partners, employees or customers how long do we keep your information? we take reasonable steps to ensure that we retain information about you only for so long as is necessary for the purpose for which it was collected, or as required under any contract or by applicable law third-party links and products on our services our business services may link to third-party websites and services that are outside our control we are not responsible for the security or privacy of any information collected by websites or other services you should exercise caution, and review the privacy statements applicable to the third-party websites and services you use cookies, beacons and similar technologies we, as well as certain third parties that provide content, advertising, or other functionality on our business services, may use cookies, beacons, and other technologies in certain areas of our business services cookies cookies are small files that store information on your device they enable the entity that put the cookie on your device to recognize you across different websites, services, devices, and/or browsing sessions cookies serve many useful purposes for example cookies can remember your sign-in credentials so you don’t have to enter those credentials each time you log on to a service cookies help us and third parties understand which parts of our business services are the most popular because they help us to see which pages and features visitors are accessing and how much time they are spending on the pages by studying this kind of information, we are better able to adapt the business services and provide you with a better experience cookies help us and third parties understand which ads you have seen so that you don’t receive the same ad each time you access the mss service cookies help us and third parties provide you with relevant content and advertising by collecting information about your use of our business services and other websites and apps when you use a web browser to access the business services, you can configure your browser to accept all cookies, reject all cookies, or notify you when a cookie is sent each browser is different, so check the “help” menu of your browser to learn how to change your cookie preferences the operating system of your device may contain additional controls for cookies please note, however, that some business services may be designed to work using cookies and that disabling cookies may affect your ability to use those business services, or certain parts of them other local storage we, along with certain third parties, may use other kinds of local storage technologies, such as local shared objects also referred to as “flash cookies” and html5 local storage, in connection with our business services these technologies are similar to the cookies discussed above in that they are stored on your device and can be used to store certain information about your activities and preferences however, these technologies may make use of different parts of your device from standard cookies, and so you might not be able to control them using standard browser tools and settings for information about disabling or deleting information contained in flash cookies, please click here beacons we, along with certain third parties, also may use technologies called beacons or “pixels” that communicate information from your device to a server beacons can be embedded in online content, videos, and emails, and can allow a server to read certain types of information from your device, know when you have viewed particular content or a particular email message, determine the time and date on which you viewed the beacon, and the ip address of your device we and certain third parties use beacons for a variety of purposes, including to analyze the use of our business services and in conjunction with cookies to provide content and ads that are more relevant to you by accessing and using our business services, you consent to the storage of cookies, other local storage technologies, beacons and other information on your devices you also consent to the access of such cookies, local storage technologies, beacons and information by us and by the third parties mentioned above your choices you can make choices about whether to receive promotional communications from us by following the unsubscribe instructions included in the communication specific uses of personal information in addition to what has been explained above, we wish to highlight the following specific information practices in connection with certain specific services contact if you have any questions regarding this policy, please contact us at support@samsungdevelopers com
We use cookies to improve your experience on our website and to show you relevant advertising. Manage you settings for our cookies below.
These cookies are essential as they enable you to move around the website. This category cannot be disabled.
These cookies collect information about how you use our website. for example which pages you visit most often. All information these cookies collect is used to improve how the website works.
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and tailor the website to provide enhanced features and content for you.
You have successfully updated your cookie preferences.