24.10.2014 Views

TMS iCL DEVELOPERS GUIDE - TMS Software

TMS iCL DEVELOPERS GUIDE - TMS Software

TMS iCL DEVELOPERS GUIDE - TMS Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TMS</strong> SOFTWARE<br />

<strong>TMS</strong> <strong>iCL</strong><br />

<strong>DEVELOPERS</strong> <strong>GUIDE</strong><br />

<strong>TMS</strong>FMXNativeSLComposeViewController<br />

Usage<br />

The <strong>TMS</strong>FMXNativeSLComposeViewController class presents a view to the user to compose a post for<br />

supported social networking services.<br />

Public Properties<br />

SLComposeViewController<br />

Returns a reference to the native iOS<br />

SLComposeViewController.<br />

Public Methods<br />

AddBitmap(ABitmap: TBitmap): Boolean;<br />

AddBitmapFile(ABitmapFile: String): Boolean;<br />

AddMessage(AMessage: String): Boolean;<br />

AddURL(AURl: String): Boolean;<br />

InitializeForServiceType(AServiceType:<br />

T<strong>TMS</strong>FMXNativeSLComposeViewControllerServiceType);<br />

isServiceTypeAvailable(AServiceType:<br />

T<strong>TMS</strong>FMXNativeSLComposeViewControllerServiceType):<br />

Boolean;<br />

Post(AServiceType:<br />

T<strong>TMS</strong>FMXNativeSLComposeViewControllerServiceType;<br />

AMessage: string; ABitmap: TBitmap; AURL: String):<br />

Boolean;<br />

Adds a bitmap to the service.<br />

Adds a bitmap from a file to the service.<br />

Adds a message to the service.<br />

Adds an URL to the service.<br />

Initializes the SLComposeViewControler for<br />

the specific service.<br />

Returns if the specific service is available.<br />

Shows a dialog to post to a specific service<br />

with a message, optional bitmap and url.<br />

120

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!