Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OpenData

Hierarchy

  • OpenData

Implements

  • IOpenData

Index

Constructors

constructor

  • Parameters

    • data: any

    Returns OpenData

Properties

Static getFriendCloudStorage

getFriendCloudStorage: (argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[] }) => LitePromise<OpenDataArray> = ...

Type declaration

    • (argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[] }): LitePromise<OpenDataArray>
    • Parameters

      • argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[] }
        • avatarSize: AvatarSize
        • filterSelf: boolean
        • keyList: string[]

      Returns LitePromise<OpenDataArray>

Static getGroupCloudStorage

getGroupCloudStorage: (argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[]; shareTicket: string }) => LitePromise<OpenDataArray> = ...

Type declaration

    • (argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[]; shareTicket: string }): LitePromise<OpenDataArray>
    • Parameters

      • argument: { avatarSize: AvatarSize; filterSelf: boolean; keyList: string[]; shareTicket: string }
        • avatarSize: AvatarSize
        • filterSelf: boolean
        • keyList: string[]
        • shareTicket: string

      Returns LitePromise<OpenDataArray>

Static getGroupInfo

getGroupInfo: (argument: { openGId: string }) => LitePromise<OpenData> = ...

Type declaration

Static getPotentialFriendList

getPotentialFriendList: (argument: { avatarSize: AvatarSize }) => LitePromise<OpenDataArray> = ...

Type declaration

    • (argument: { avatarSize: AvatarSize }): LitePromise<OpenDataArray>
    • Parameters

      • argument: { avatarSize: AvatarSize }
        • avatarSize: AvatarSize

      Returns LitePromise<OpenDataArray>

Static getUserCloudStorage

getUserCloudStorage: (argument: { keyList: string[] }) => LitePromise<OpenData> = ...

Type declaration

Static getUserCloudStorageKeys

getUserCloudStorageKeys: () => LitePromise<OpenData> = ...

Type declaration

Methods

modifyInteractiveStorage

  • modifyInteractiveStorage(argument: { imageUrl: string; imageUrlId: string; key: string; opNum: number; operation: "add"; quiet: boolean; title: string }): LitePromise<unknown>
  • Parameters

    • argument: { imageUrl: string; imageUrlId: string; key: string; opNum: number; operation: "add"; quiet: boolean; title: string }
      • imageUrl: string
      • imageUrlId: string
      • key: string
      • opNum: number
      • operation: "add"
      • quiet: boolean
      • title: string

    Returns LitePromise<unknown>

openid

  • Parameters

    • content: string

    Returns LitePromise<string>

share

  • share(argument: { imageUrl: string; imageUrlId: string; title: string }): LitePromise<unknown>
  • Parameters

    • argument: { imageUrl: string; imageUrlId: string; title: string }
      • imageUrl: string
      • imageUrlId: string
      • title: string

    Returns LitePromise<unknown>

spriteFrame

value

  • value(expression: string, scope?: Scope): OpenData
  • Parameters

    • expression: string
    • Optional scope: Scope

    Returns OpenData

Static checkPermission

  • checkPermission(api: string): boolean
  • Parameters

    • api: string

    Returns boolean

Generated using TypeDoc