vitasdk
Documentation of the vitasdk
livearea.h
Go to the documentation of this file.
1
6#ifndef _PSP2_LIVEAREA_H_
7#define _PSP2_LIVEAREA_H_
8
9#include <psp2/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
27
46
72int sceLiveAreaReplaceAllSync(const char *contents_path);
73
97int sceLiveAreaReplaceAllAsync(const char *contents_path);
98
123int sceLiveAreaReplaceAllForTitleSync(const char *contents_path, const char *title_id, const SceRtcTick *last_modified);
124
151int sceLiveAreaReplaceAllForTitleAsync(const char *contents_path, const char *title_id, const SceRtcTick *last_modified);
152
180int sceLiveAreaUpdateFrameSync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type);
181
211int sceLiveAreaUpdateFrameAsync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type);
212
240int sceLiveAreaUpdateFrameForTitleSync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id);
241
273int sceLiveAreaUpdateFrameForTitleAsync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id);
274
303int sceLiveAreaUpdateFramesForTitleSync(const char *format_version, const char *const *frame_xml_array, SceUInt32 frame_count, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id);
304
336int sceLiveAreaUpdateFramesForTitleAsync(const char *format_version, const char *const *frame_xml_array, SceUInt32 frame_count, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id);
337
355
375int sceLiveAreaGetFrameRevision(const char *frame_id, SceUInt64 *revision);
376
399int sceLiveAreaGetFrameUserData(const char *frame_id, char *buffer, SceSize buffer_size);
400
426
427#ifdef __cplusplus
428}
429#endif
430
431#endif /* _PSP2_LIVEAREA_H_ */
void * buffer
Definition bt.h:6
int sceLiveAreaGetRevision(SceUInt64 *revision)
Get the overall LiveArea content revision for the calling title.
SceLiveAreaTargetType
LiveArea frame database layer.
Definition livearea.h:23
int sceLiveAreaUpdateFramesForTitleAsync(const char *format_version, const char *const *frame_xml_array, SceUInt32 frame_count, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id)
Update multiple LiveArea frames for a title asynchronously.
int sceLiveAreaEnableBgAppMode(void)
Enable foreground-title selection for a background companion application.
int sceLiveAreaGetFrameRevision(const char *frame_id, SceUInt64 *revision)
Get a LiveArea frame revision for the calling title.
int sceLiveAreaGetStatus(void)
Poll an asynchronous LiveArea operation.
int sceLiveAreaUpdateFrameAsync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type)
Update one LiveArea frame for the calling title asynchronously.
int sceLiveAreaReplaceAllSync(const char *contents_path)
Replace all LiveArea data for the calling title synchronously.
int sceLiveAreaReplaceAllForTitleSync(const char *contents_path, const char *title_id, const SceRtcTick *last_modified)
Replace all LiveArea data for a title synchronously.
int sceLiveAreaUpdateFrameForTitleSync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id)
Update one LiveArea frame for a title synchronously.
int sceLiveAreaUpdateFramesForTitleSync(const char *format_version, const char *const *frame_xml_array, SceUInt32 frame_count, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id)
Update multiple LiveArea frames for a title synchronously.
int sceLiveAreaUpdateFrameSync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type)
Update one LiveArea frame for the calling title synchronously.
int sceLiveAreaReplaceAllForTitleAsync(const char *contents_path, const char *title_id, const SceRtcTick *last_modified)
Replace all LiveArea data for a title asynchronously.
int sceLiveAreaUpdateFrameForTitleAsync(const char *format_version, const char *frame_xml, SceInt32 frame_xml_length, const char *contents_path, SceLiveAreaTargetType target_type, const char *title_id)
Update one LiveArea frame for a title asynchronously.
int sceLiveAreaReplaceAllAsync(const char *contents_path)
Replace all LiveArea data for the calling title asynchronously.
int sceLiveAreaGetFrameUserData(const char *frame_id, char *buffer, SceSize buffer_size)
Get the user data associated with a LiveArea frame for the calling title.
@ SCE_LIVEAREA_TARGET_TYPE_RETAIL
Retail override layer, usually from sce_sys/retail/livearea/contents.
Definition livearea.h:25
@ SCE_LIVEAREA_TARGET_TYPE_NORMAL
Normal layer, conventionally from sce_sys/livearea/contents.
Definition livearea.h:24
Definition rtc.h:48
int32_t SceInt32
Definition types.h:44
unsigned int SceSize
Definition types.h:56
uint64_t SceUInt64
Definition types.h:51
uint32_t SceUInt32
Definition types.h:45