nl:: بافت:: DeviceLayer:: SoftwareUpdateManager
خلاصه
وراثت
زیر کلاس های مستقیم شناخته شده:nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
nl::Weave::DeviceLayer::SoftwareUpdateManagerImpl
انواع عمومی | |
---|---|
ActionType { | شمارش هنگامی که یک بهروزرسانی نرمافزار در دسترس است، برنامه میتواند یکی از اقدامات زیر را به عنوان بخشی از تماس رویداد SoftwareUpdateAvailable API انتخاب کند. |
EventCallback )(void *apAppState, EventType aEvent, const InEventParam &aInParam, OutEventParam &aOutParam) | typedefvoid(* |
EventType { | شمارش رویدادهای API ایجاد شده توسط شی SoftwareUpdateManager . |
RetryPolicyCallback )(void *aAppState, RetryParam &aRetryParam, uint32_t &aOutIntervalMsec) | typedefvoid(* |
State | شمارش |
کلاس های دوستان | |
---|---|
Internal::GenericPlatformManagerImpl | friend class |
توابع عمومی | |
---|---|
Abort (void) | |
CheckNow (void) | |
GetState (void) | State |
ImageInstallComplete ( WEAVE_ERROR aError) | |
IsInProgress (void) | bool |
PrepareImageStorageComplete ( WEAVE_ERROR aError) | |
SetEventCallback (void *const aAppState, const EventCallback aEventCallback) | |
SetQueryIntervalWindow (uint32_t aMinWaitTimeMs, uint32_t aMaxWaitTimeMs) | |
SetRetryPolicyCallback (const RetryPolicyCallback aRetryPolicyCallback) | void |
توابع استاتیک عمومی | |
---|---|
DefaultEventHandler (void *apAppState, EventType aEvent, const InEventParam & aInParam, OutEventParam & aOutParam) | void |
توابع محافظت شده | |
---|---|
SoftwareUpdateManager ()=default | |
SoftwareUpdateManager (const SoftwareUpdateManager &)=delete | |
SoftwareUpdateManager (const SoftwareUpdateManager &&)=delete | |
operator= (const SoftwareUpdateManager &)=delete | |
~SoftwareUpdateManager ()=default |
سازه ها | |
---|---|
nl:: Weave:: DeviceLayer:: SoftwareUpdateManager:: RetryParam |
اتحادیه ها | |
---|---|
nl:: Weave:: DeviceLayer:: SoftwareUpdateManager:: InEventParam | |
nl:: Weave:: DeviceLayer:: SoftwareUpdateManager:: OutEventParam |
انواع عمومی
ActionType
ActionType
هنگامی که یک بهروزرسانی نرمافزار در دسترس است، برنامه میتواند یکی از اقدامات زیر را به عنوان بخشی از تماس رویداد SoftwareUpdateAvailable API انتخاب کند.
عمل پیش فرض روی kAction_Now تنظیم می شود.
رویداد Callback
void(* EventCallback)(void *apAppState, EventType aEvent, const InEventParam &aInParam, OutEventParam &aOutParam)
نوع رویداد
EventType
رویدادهای API ایجاد شده توسط شی SoftwareUpdateManager
.
RetryPolicyCallback
void(* RetryPolicyCallback)(void *aAppState, RetryParam &aRetryParam, uint32_t &aOutIntervalMsec)
دولت
State
کلاس های دوستان
داخلی::GenericPlatformManagerImpl
friend class Internal::GenericPlatformManagerImpl
توابع عمومی
سقط
WEAVE_ERROR Abort( void )
اکنون بررسی کنید
WEAVE_ERROR CheckNow( void )
GetState
State GetState( void )
ImageInstallComplete
WEAVE_ERROR ImageInstallComplete( WEAVE_ERROR aError )
IsInProgress
bool IsInProgress( void )
PrepareImageStorageComplete
WEAVE_ERROR PrepareImageStorageComplete( WEAVE_ERROR aError )
SetEventCallback
WEAVE_ERROR SetEventCallback( void *const aAppState, const EventCallback aEventCallback )
SetQueryIntervalWindow
WEAVE_ERROR SetQueryIntervalWindow( uint32_t aMinWaitTimeMs, uint32_t aMaxWaitTimeMs )
SetRetryPolicyCallback
void SetRetryPolicyCallback( const RetryPolicyCallback aRetryPolicyCallback )
توابع استاتیک عمومی
DefaultEventHandler
void DefaultEventHandler( void *apAppState, EventType aEvent, const InEventParam & aInParam, OutEventParam & aOutParam )
توابع محافظت شده
SoftwareUpdateManager
SoftwareUpdateManager()=default
SoftwareUpdateManager
SoftwareUpdateManager( const SoftwareUpdateManager & )=delete
SoftwareUpdateManager
SoftwareUpdateManager( const SoftwareUpdateManager && )=delete
اپراتور=
SoftwareUpdateManager & operator=( const SoftwareUpdateManager & )=delete
~SoftwareUpdateManager
~SoftwareUpdateManager()=default
جز در مواردی که غیر از این ذکر شده باشد، محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است و نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است. Thread علامت تجاری ثبتشده Thread Group, Inc است.
تاریخ آخرین بهروزرسانی 2020-03-06 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]